summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-22 17:16:02 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:25 +0200
commit1379ef8b7bbc09a0863705933bd57e5b6275d6a9 (patch)
treeefedc538766b8c188ad300f33af8af958deebaae /source3/include
parent13329112e9fc259a55dc43b6406fb86540784bca (diff)
downloadsamba-1379ef8b7bbc09a0863705933bd57e5b6275d6a9.tar.gz
samba-1379ef8b7bbc09a0863705933bd57e5b6275d6a9.tar.bz2
samba-1379ef8b7bbc09a0863705933bd57e5b6275d6a9.zip
s3:loadparm: add a convenience wrapper lp_load_global()
This is the use case for most callers, especially the client tools.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ec0571c409..5fe3be2fdb 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1618,6 +1618,7 @@ bool lp_load(const char *pszFname,
bool add_ipc,
bool initialize_globals);
bool lp_load_initial_only(const char *pszFname);
+bool lp_load_global(const char *file_name);
bool lp_load_with_registry_shares(const char *pszFname,
bool global_only,
bool save_defaults,