summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-06-20 16:54:32 +0000
committerSimo Sorce <idra@samba.org>2001-06-20 16:54:32 +0000
commit82970b833cca505fcb5013c0264edde5a79cbd2e (patch)
treefe2707302b12b4b3c12e37f1e3b62018deeed174 /source3/include/smb.h
parent567612291e3c9bd993bc6c94591c8a6a4ca55eff (diff)
downloadsamba-82970b833cca505fcb5013c0264edde5a79cbd2e.tar.gz
samba-82970b833cca505fcb5013c0264edde5a79cbd2e.tar.bz2
samba-82970b833cca505fcb5013c0264edde5a79cbd2e.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) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 12b6bfd4a0..6c7ebc2910 100644
--- a/source3/include/smb.h
+++ b/source3/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;
};