From 82970b833cca505fcb5013c0264edde5a79cbd2e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 20 Jun 2001 16:54:32 +0000 Subject: 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) --- source3/include/smb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/include/smb.h') 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; }; -- cgit