diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-08-22 16:26:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-26 10:06:32 +1000 |
commit | d847f62161cbb4a2b5fe7f1c1105ff2e478e4858 (patch) | |
tree | 2ab17507757d398a279c024e5125f7b218bd7365 | |
parent | 7f67d7b5caa0915820b9ae3f9b83b7b02c63b307 (diff) | |
download | samba-d847f62161cbb4a2b5fe7f1c1105ff2e478e4858.tar.gz samba-d847f62161cbb4a2b5fe7f1c1105ff2e478e4858.tar.bz2 samba-d847f62161cbb4a2b5fe7f1c1105ff2e478e4858.zip |
s3-param: Add a dump() method to output parameters
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source3/param/loadparm_ctx.c | 1 | ||||
-rw-r--r-- | source4/script/mks3param.pl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index abd7dbeabe..5cf8ce67cd 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -47,6 +47,7 @@ static const struct loadparm_s3_context s3_fns = .get_numservices = lp_numservices, .load = lp_load_for_s4_ctx, .set_cmdline = lp_set_cmdline, + .dump = lp_dump, .server_role = lp_server_role, diff --git a/source4/script/mks3param.pl b/source4/script/mks3param.pl index 37277c20b1..2679b5acae 100644 --- a/source4/script/mks3param.pl +++ b/source4/script/mks3param.pl @@ -94,6 +94,7 @@ sub print_header($$) $file->("\tint (*get_numservices)(void);\n"); $file->("\tbool (*load)(const char *filename);\n"); $file->("\tbool (*set_cmdline)(const char *pszParmName, const char *pszParmValue);\n"); + $file->("\tvoid (*dump)(FILE *f, bool show_defaults, int maxtoprint);\n"); } sub print_footer($$) |