diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-27 23:24:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-27 17:11:16 +0200 |
commit | 666dba33531c7e7d391318c915fb393ec5b1da36 (patch) | |
tree | cf5b864e6607487b4487ee5df7de2484e8d59b3b /script/mks3param.pl | |
parent | 7e8ed7d68dc48dd283df649c3f75d5679f7beae9 (diff) | |
download | samba-666dba33531c7e7d391318c915fb393ec5b1da36.tar.gz |
s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers
This helps clarify the role of this structure and wrapper function.
The purpose here is to provide helper functions to the lib/param
loadparm_context that point back at the s3 lp_ functions. This allows
a struct loadparm_context to be passed to any point in the code, and
always refer to the correct loadparm system. If this has not been
set, the variables loaded in the lib/param code will be returned.
As requested by Michael Adam.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
Diffstat (limited to 'script/mks3param.pl')
-rw-r--r-- | script/mks3param.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mks3param.pl b/script/mks3param.pl index 376f7ae85f8..5c5eea3ce1c 100644 --- a/script/mks3param.pl +++ b/script/mks3param.pl @@ -83,7 +83,7 @@ sub print_header($$) $file->("#ifndef $header_name\n"); $file->("#define $header_name\n\n"); $file->("/* This file was automatically generated by mks3param.pl. DO NOT EDIT */\n\n"); - $file->("struct loadparm_s3_context\n"); + $file->("struct loadparm_s3_helpers\n"); $file->("{\n"); $file->("\tconst char * (*get_parametric)(struct loadparm_service *, const char *type, const char *option);\n"); $file->("\tstruct parm_struct * (*get_parm_struct)(const char *param_name);\n"); |