From: Michael Adam Date: Thu, 23 Jul 2015 16:01:40 +0000 (+0200) Subject: generate_param: teach missing types cmdlist, bytes, octal, ustring. X-Git-Tag: talloc-2.1.4~495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=223aad4f91eef2f1e9488bc4debf23bfd1b6a323;p=thirdparty%2Fsamba.git generate_param: teach missing types cmdlist, bytes, octal, ustring. Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/script/generate_param.py b/script/generate_param.py index 494e23972a2..b71d3aac35d 100644 --- a/script/generate_param.py +++ b/script/generate_param.py @@ -97,6 +97,10 @@ param_type_dict = { "enum" : "_INTEGER", "char" : "_CHAR", "boolean-auto" : "_INTEGER", + "cmdlist" : "_LIST", + "bytes" : "_INTEGER", + "octal" : "_INTEGER", + "ustring" : "_STRING", } def generate_functions(path_in, path_out): @@ -137,6 +141,10 @@ mapping = { 'list' : 'const char **', 'enum' : 'int ', 'boolean-auto' : 'int ', + 'cmdlist' : 'const char **', + 'bytes' : 'int ', + 'octal' : 'int ', + 'ustring' : 'char *', } def make_s3_param_proto(path_in, path_out):