diff options
author | Simo Sorce <idra@samba.org> | 2001-06-20 16:54:32 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-06-20 16:54:32 +0000 |
commit | e1572f85d6247b760db10825b2fa688d7ed50bd3 (patch) | |
tree | 873a9381269e64ae6844f12af54d249e092b787b /source/include/smb.h | |
parent | d0b37d1a623acce2ae4509aebda85ad1280dc8ac (diff) | |
download | samba-e1572f85d6247b760db10825b2fa688d7ed50bd3.tar.gz samba-e1572f85d6247b760db10825b2fa688d7ed50bd3.tar.xz samba-e1572f85d6247b760db10825b2fa688d7ed50bd3.zip |
initial support for paramter type P_LIST
it will avoid problems with lists being longer than 1024 bytes
just now only ip list parameters have been converted to the new type
(hosts allow, hosts deny, ssl hosts, ssl hosts resign)
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index 12b6bfd4a0e..6c7ebc2910a 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -735,7 +735,7 @@ struct locking_data { /* the following are used by loadparm for option lists */ typedef enum { - P_BOOL,P_BOOLREV,P_CHAR,P_INTEGER,P_OCTAL, + P_BOOL,P_BOOLREV,P_CHAR,P_INTEGER,P_OCTAL,P_LIST, P_STRING,P_USTRING,P_GSTRING,P_UGSTRING,P_ENUM,P_SEP } parm_type; @@ -774,6 +774,7 @@ struct parm_struct int ivalue; char *svalue; char cvalue; + char **lvalue; } def; }; |