Print this page
*** NO COMMENTS ***


  43 extern "C" {
  44 #endif
  45 
  46 #define SHOPT_RO        "ro"
  47 #define SHOPT_RW        "rw"
  48 #define SHOPT_NONE      "none"
  49 #define SHOPT_ROOT_MAPPING      "root_mapping"
  50 
  51 #define SHOPT_SEC       "sec"
  52 #define SHOPT_SECURE    "secure"
  53 #define SHOPT_ROOT      "root"
  54 #define SHOPT_ANON      "anon"
  55 #define SHOPT_WINDOW    "window"
  56 #define SHOPT_NOSUB     "nosub"
  57 #define SHOPT_NOSUID    "nosuid"
  58 #define SHOPT_ACLOK     "aclok"
  59 #define SHOPT_PUBLIC    "public"
  60 #define SHOPT_INDEX     "index"
  61 #define SHOPT_LOG       "log"
  62 #define SHOPT_NOACLFAB  "noaclfab"

  63 
  64 /* XXX The following are added for testing volatile fh's purposes only */
  65 #ifdef VOLATILE_FH_TEST
  66 #define SHOPT_VOLFH     "volfh"
  67 #endif /* VOLATILE_FH_TEST */
  68 
  69 int             getshare(FILE *, share_t **);
  70 char            *getshareopt(char *, char *);
  71 share_t         *sharedup(share_t *);
  72 void            sharefree(share_t *);
  73 
  74 #ifdef __cplusplus
  75 }
  76 #endif
  77 
  78 #endif /* !_SHARETAB_H */


  43 extern "C" {
  44 #endif
  45 
  46 #define SHOPT_RO        "ro"
  47 #define SHOPT_RW        "rw"
  48 #define SHOPT_NONE      "none"
  49 #define SHOPT_ROOT_MAPPING      "root_mapping"
  50 
  51 #define SHOPT_SEC       "sec"
  52 #define SHOPT_SECURE    "secure"
  53 #define SHOPT_ROOT      "root"
  54 #define SHOPT_ANON      "anon"
  55 #define SHOPT_WINDOW    "window"
  56 #define SHOPT_NOSUB     "nosub"
  57 #define SHOPT_NOSUID    "nosuid"
  58 #define SHOPT_ACLOK     "aclok"
  59 #define SHOPT_PUBLIC    "public"
  60 #define SHOPT_INDEX     "index"
  61 #define SHOPT_LOG       "log"
  62 #define SHOPT_NOACLFAB  "noaclfab"
  63 #define SHOPT_NOHIDE    "nohide"
  64 
  65 /* XXX The following are added for testing volatile fh's purposes only */
  66 #ifdef VOLATILE_FH_TEST
  67 #define SHOPT_VOLFH     "volfh"
  68 #endif /* VOLATILE_FH_TEST */
  69 
  70 int             getshare(FILE *, share_t **);
  71 char            *getshareopt(char *, char *);
  72 share_t         *sharedup(share_t *);
  73 void            sharefree(share_t *);
  74 
  75 #ifdef __cplusplus
  76 }
  77 #endif
  78 
  79 #endif /* !_SHARETAB_H */