1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

param: Enable including source3/param/param_proto.h without vfs.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-04-22 15:44:10 +02:00 committed by Jeremy Allison
parent f7181ec7e2
commit b180ca8cd3

View File

@ -173,6 +173,8 @@ def make_s3_param_proto(path_in, path_out):
header = get_header(path_out)
file_out.write("#ifndef %s\n" % header)
file_out.write("#define %s\n\n" % header)
file_out.write("struct share_params;\n")
file_out.write("struct loadparm_substitution;\n")
for parameter in iterate_all(path_in):
# filter out parameteric options
if ':' in parameter['name']: