diff options
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f2d1e6b792..2f58a9c99e 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1072,7 +1072,7 @@ static void init_globals(bool reinit_globals) callers without affecting the source string. ********************************************************************/ -static char *lp_string(TALLOC_CTX *ctx, const char *s) +char *lp_string(TALLOC_CTX *ctx, const char *s) { char *ret; @@ -5263,3 +5263,8 @@ int lp_security(void) return lp_find_security(lp__server_role(), lp__security()); } + +struct loadparm_global * get_globals(void) +{ + return &Globals; +} |