From ce7bccef5fa41d5445a97f32daf387c9ed85030e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 1 Oct 2007 19:46:00 +0000 Subject: r25449: Add convenience function for opening the default smb.conf for openchange. (This used to be commit 5f023ef7a4046442a96768b926546f93735c9666) --- source4/param/loadparm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/param') diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 1d12a2b73c..39b02f0ccb 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2452,6 +2452,11 @@ bool loadparm_init(struct loadparm_context *lp_ctx) return true; } +_PUBLIC_ _DEPRECATED_ bool lp_load_default(void) +{ + return lp_load(dyn_CONFIGFILE); +} + /*************************************************************************** Load the services array from the services file. Return True on success, False on failure. -- cgit