diff options
author | Herb Lewis <herb@samba.org> | 1998-12-14 21:34:08 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-12-14 21:34:08 +0000 |
commit | cb83cf0b65ae62dca15c332597eaf5f875e0ccd7 (patch) | |
tree | 307d9dd42d81986e3a20f71f2a0f66e0697cdc82 /source/include | |
parent | ef1e81d1f5ab0d9a1d674661258f4f6492990da9 (diff) | |
download | samba-cb83cf0b65ae62dca15c332597eaf5f875e0ccd7.tar.gz samba-cb83cf0b65ae62dca15c332597eaf5f875e0ccd7.tar.xz samba-cb83cf0b65ae62dca15c332597eaf5f875e0ccd7.zip |
smb.h add new FLAG_SHARE to indicate which parameters are used
on share page
loadparm.c added FLAG_SHARE and FLAG_PRINT to various parameters to
tell swat which page these belong to
swat.c only print parameters marked on printers and shares pages
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/smb.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index d01a382ca35..88303b57642 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -888,11 +888,12 @@ struct bitmap { int n; }; -#define FLAG_BASIC 1 /* fundamental options */ -#define FLAG_HIDE 2 /* options that should be hidden in SWAT */ -#define FLAG_PRINT 4 /* printing options */ -#define FLAG_GLOBAL 8 /* local options that should be globally settable in SWAT */ +#define FLAG_BASIC 0x01 /* fundamental options */ +#define FLAG_SHARE 0x02 /* file sharing options */ +#define FLAG_PRINT 0x04 /* printing options */ +#define FLAG_GLOBAL 0x08 /* local options that should be globally settable in SWAT */ #define FLAG_DEPRECATED 0x10 /* options that should no longer be used */ +#define FLAG_HIDE 0x20 /* options that should be hidden in SWAT */ #ifndef LOCKING_VERSION #define LOCKING_VERSION 4 |