summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2003-07-27 17:24:24 +0000
committerJohn Terpstra <jht@samba.org>2003-07-27 17:24:24 +0000
commitd758d693fe476b49133e7dd8898fd64d74bdf3c4 (patch)
treec1f4f5f28e5f9b69adc34d703f750ec9463e6ae5
parent5e2235843ed98afafc9309067dea651196a62b5f (diff)
downloadsamba-d758d693fe476b49133e7dd8898fd64d74bdf3c4.tar.gz
samba-d758d693fe476b49133e7dd8898fd64d74bdf3c4.tar.bz2
samba-d758d693fe476b49133e7dd8898fd64d74bdf3c4.zip
Clarified what the SWAT FLAGS mean and what they do.
Note: The comments in this file regarding the FLAGS has been in need of maintenance for some time. (This used to be commit a0d2fa0f25abe22008080df2ad2e58e7ee424a2b)
-rw-r--r--source3/include/smb.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9800e21dff..f586b6f1a4 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -705,13 +705,15 @@ struct bitmap {
unsigned int n;
};
-#define FLAG_BASIC 0x0001 /* fundamental options */
+/* Note: Parameters flagged as basic will be visible in all views. */
+/* Parameters NOT flagged as basic will not be preset to default value is not set in smb.conf */
+#define FLAG_BASIC 0x0001 /* fundamental options preset to default value if not set in smb.conf */
#define FLAG_SHARE 0x0002 /* file sharing options */
#define FLAG_PRINT 0x0004 /* printing options */
#define FLAG_GLOBAL 0x0008 /* local options that should be globally settable in SWAT */
#define FLAG_WIZARD 0x0010 /* Parameters that the wizard will operate on */
-#define FLAG_ADVANCED 0x0020 /* Parameters that the wizard will operate on */
-#define FLAG_DEVELOPER 0x0040 /* Parameters that the wizard will operate on */
+#define FLAG_ADVANCED 0x0020 /* Parameters that will be visible in advanced view and developer view */
+#define FLAG_DEVELOPER 0x0040 /* Parameters that will be visible only in developer view */
#define FLAG_DEPRECATED 0x1000 /* options that should no longer be used */
#define FLAG_HIDE 0x2000 /* options that should be hidden in SWAT */
#define FLAG_DOS_STRING 0x4000 /* convert from UNIX to DOS codepage when reading this string. */