mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
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 commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user