Print this page
*** NO COMMENTS ***


  36 
  37 /* property names used by NFS */
  38 #define SHOPT_RO        "ro"
  39 #define SHOPT_RW        "rw"
  40 #define SHOPT_NONE      "none"
  41 #define SHOPT_ROOT_MAPPING      "root_mapping"
  42 
  43 #define SHOPT_SEC       "sec"
  44 #define SHOPT_SECURE    "secure"
  45 #define SHOPT_ROOT      "root"
  46 #define SHOPT_ANON      "anon"
  47 #define SHOPT_WINDOW    "window"
  48 #define SHOPT_NOSUB     "nosub"
  49 #define SHOPT_NOSUID    "nosuid"
  50 #define SHOPT_ACLOK     "aclok"
  51 #define SHOPT_PUBLIC    "public"
  52 #define SHOPT_INDEX     "index"
  53 #define SHOPT_LOG       "log"
  54 #define SHOPT_CKSUM     "cksum"
  55 #define SHOPT_NOACLFAB  "noaclfab"

  56 
  57 /*
  58  * defined options types. These should be in a file rather than
  59  * compiled in. Until there is a plugin mechanism to add new types,
  60  * this is sufficient.
  61  */
  62 #define OPT_TYPE_ANY            0
  63 #define OPT_TYPE_STRING         1
  64 #define OPT_TYPE_BOOLEAN        2
  65 #define OPT_TYPE_NUMBER         3
  66 #define OPT_TYPE_RANGE          4
  67 #define OPT_TYPE_USER           5
  68 #define OPT_TYPE_ACCLIST        6
  69 #define OPT_TYPE_DEPRECATED     7
  70 #define OPT_TYPE_SECURITY       8
  71 #define OPT_TYPE_PATH           9
  72 #define OPT_TYPE_FILE           10
  73 #define OPT_TYPE_LOGTAG         11
  74 #define OPT_TYPE_STRINGSET      12
  75 #define OPT_TYPE_DOMAIN         13




  36 
  37 /* property names used by NFS */
  38 #define SHOPT_RO        "ro"
  39 #define SHOPT_RW        "rw"
  40 #define SHOPT_NONE      "none"
  41 #define SHOPT_ROOT_MAPPING      "root_mapping"
  42 
  43 #define SHOPT_SEC       "sec"
  44 #define SHOPT_SECURE    "secure"
  45 #define SHOPT_ROOT      "root"
  46 #define SHOPT_ANON      "anon"
  47 #define SHOPT_WINDOW    "window"
  48 #define SHOPT_NOSUB     "nosub"
  49 #define SHOPT_NOSUID    "nosuid"
  50 #define SHOPT_ACLOK     "aclok"
  51 #define SHOPT_PUBLIC    "public"
  52 #define SHOPT_INDEX     "index"
  53 #define SHOPT_LOG       "log"
  54 #define SHOPT_CKSUM     "cksum"
  55 #define SHOPT_NOACLFAB  "noaclfab"
  56 #define SHOPT_NOHIDE    "nohide"
  57 
  58 /*
  59  * defined options types. These should be in a file rather than
  60  * compiled in. Until there is a plugin mechanism to add new types,
  61  * this is sufficient.
  62  */
  63 #define OPT_TYPE_ANY            0
  64 #define OPT_TYPE_STRING         1
  65 #define OPT_TYPE_BOOLEAN        2
  66 #define OPT_TYPE_NUMBER         3
  67 #define OPT_TYPE_RANGE          4
  68 #define OPT_TYPE_USER           5
  69 #define OPT_TYPE_ACCLIST        6
  70 #define OPT_TYPE_DEPRECATED     7
  71 #define OPT_TYPE_SECURITY       8
  72 #define OPT_TYPE_PATH           9
  73 #define OPT_TYPE_FILE           10
  74 #define OPT_TYPE_LOGTAG         11
  75 #define OPT_TYPE_STRINGSET      12
  76 #define OPT_TYPE_DOMAIN         13