diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-27 17:18:26 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-07-07 23:32:36 +0200 |
commit | acc7f79ee4f7bd26cae975cda8f859a6ae4e4df2 (patch) | |
tree | 7d9947346f772d0a2bfc937476cff987a3faaede /source3/param/loadparm.c | |
parent | 5c0ce80726edf35b49fd0d94aede191da469e90a (diff) | |
download | samba-acc7f79ee4f7bd26cae975cda8f859a6ae4e4df2.tar.gz samba-acc7f79ee4f7bd26cae975cda8f859a6ae4e4df2.tar.xz samba-acc7f79ee4f7bd26cae975cda8f859a6ae4e4df2.zip |
param: rename do_section in s3 to lp_do_section to avoid conflicts
Change-Id: I9bb090b3b501a1e958eec17988901baed16c58cb
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 27cdc58dfe..f31fd3c00f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1161,7 +1161,7 @@ static int map_parameter_canonical(const char *pszParmName, bool *inverse); static const char *get_boolean(bool bool_value); static bool do_parameter(const char *pszParmName, const char *pszParmValue, void *userdata); -static bool do_section(const char *pszSectionName, void *userdata); +static bool lp_do_section(const char *pszSectionName, void *userdata); static bool hash_a_service(const char *name, int number); static void free_service_byindex(int iService); static void show_parameter(int parmIndex); @@ -2073,7 +2073,7 @@ static bool process_smbconf_service(struct smbconf_service *service) return false; } - ret = do_section(service->name, NULL); + ret = lp_do_section(service->name, NULL); if (ret != true) { return false; } @@ -2404,7 +2404,7 @@ bool lp_include(struct loadparm_context *unused, int snum, const char *pszParmVa if (file_exist(fname)) { bool ret; include_depth++; - ret = pm_process(fname, do_section, do_parameter, NULL); + ret = pm_process(fname, lp_do_section, do_parameter, NULL); include_depth--; TALLOC_FREE(fname); return ret; @@ -2773,7 +2773,7 @@ static void init_locals(void) Returns true on success, false on failure. ***************************************************************************/ -static bool do_section(const char *pszSectionName, void *userdata) +static bool lp_do_section(const char *pszSectionName, void *userdata) { bool bRetval; bool isglobal = ((strwicmp(pszSectionName, GLOBAL_NAME) == 0) || @@ -3954,7 +3954,7 @@ static bool lp_load_ex(const char *pszFname, add_to_file_list(NULL, &file_lists, pszFname, n2); - bRetval = pm_process(n2, do_section, do_parameter, NULL); + bRetval = pm_process(n2, lp_do_section, do_parameter, NULL); TALLOC_FREE(n2); /* finish up the last section */ |