summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm_ctx.c1
-rw-r--r--source4/script/mks3param.pl1
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($$)