summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-05 15:30:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:18 -0500
commitbeed5b8532400d79fd40fc53ebae1666adc9af34 (patch)
treee4df28e320076202faa68a6dc10a6721a5bdd055 /source4/param/loadparm.h
parent0e6369f5e80d506d532e0e352b02d7d65d16db49 (diff)
downloadsamba-beed5b8532400d79fd40fc53ebae1666adc9af34.tar.gz
samba-beed5b8532400d79fd40fc53ebae1666adc9af34.tar.bz2
samba-beed5b8532400d79fd40fc53ebae1666adc9af34.zip
r9119: added a lp.categories() call in the loadparm js object, to allow
retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier. (This used to be commit 8db549b1506b5260c9eb16f40bbdae6a7c006fa2)
Diffstat (limited to 'source4/param/loadparm.h')
-rw-r--r--source4/param/loadparm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/param/loadparm.h b/source4/param/loadparm.h
index 217955d294..16444c84a2 100644
--- a/source4/param/loadparm.h
+++ b/source4/param/loadparm.h
@@ -58,3 +58,16 @@ struct parm_struct {
const char **lvalue;
} def;
};
+
+#define FLAG_BASIC 0x0001 /* fundamental options */
+#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_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. */
+#define FLAG_CMDLINE 0x8000 /* this option was set from the command line */
+