diff options
| author | Andrew Tridgell <tridge@samba.org> | 2010-11-29 13:24:51 +1100 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2010-11-29 18:04:42 +1100 |
| commit | b20ce4392e2d00c3edff8b4b8f329cf22341ea76 (patch) | |
| tree | 2278b1705aa4e661f2fd250fee33b3dff71fed29 /source4/param/param.h | |
| parent | 6982a00ded40a70cddea22451482342e99102e58 (diff) | |
| download | samba-b20ce4392e2d00c3edff8b4b8f329cf22341ea76.tar.gz samba-b20ce4392e2d00c3edff8b4b8f329cf22341ea76.tar.xz samba-b20ce4392e2d00c3edff8b4b8f329cf22341ea76.zip | |
s4-loadparm: added loadparm_init_global()
This ensures we use the same loadparm_context in all our command line
tools.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/param/param.h')
| -rw-r--r-- | source4/param/param.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/param/param.h b/source4/param/param.h index ea121fa6da..21a97fbcd0 100644 --- a/source4/param/param.h +++ b/source4/param/param.h @@ -175,6 +175,7 @@ void lpcfg_killunused(struct loadparm_context *lp_ctx, * Initialise the global parameter structure. */ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx); +struct loadparm_context *loadparm_init_global(bool load_default); const char *lpcfg_configfile(struct loadparm_context *lp_ctx); bool lpcfg_load_default(struct loadparm_context *lp_ctx); const char *lp_default_path(void); |
