diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-07 20:33:55 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-08 11:23:23 +0200 |
commit | 6b2749f8a9f527c1d52ba76566c661cab30b59c6 (patch) | |
tree | e2a07d6c5bd59d387c27ebd926841dad701f9a01 /source4/param/param.h | |
parent | 198ad4df31e5e4ab177d0abb851cb5c0c527f8d4 (diff) | |
download | samba-6b2749f8a9f527c1d52ba76566c661cab30b59c6.tar.gz samba-6b2749f8a9f527c1d52ba76566c661cab30b59c6.tar.bz2 samba-6b2749f8a9f527c1d52ba76566c661cab30b59c6.zip |
param: Add hooks to s3 parm_struct and the parameters void * pointer
This is to that the pyparam hooks can use the hooks to connect with
the s3 loadparm system. This now also includes per-service
parameters.
Andrew Bartlett
Diffstat (limited to 'source4/param/param.h')
-rw-r--r-- | source4/param/param.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/param/param.h b/source4/param/param.h index ebf41f7213..02837c56d9 100644 --- a/source4/param/param.h +++ b/source4/param/param.h @@ -68,7 +68,6 @@ int lpcfg_server_role(struct loadparm_context *); void reload_charcnv(struct loadparm_context *lp_ctx); struct loadparm_service *lpcfg_default_service(struct loadparm_context *lp_ctx); -struct parm_struct *lpcfg_parm_table(void); char *lpcfg_tls_keyfile(TALLOC_CTX *mem_ctx, struct loadparm_context *); @@ -117,7 +116,7 @@ bool lpcfg_add_home(struct loadparm_context *lp_ctx, bool lpcfg_add_printer(struct loadparm_context *lp_ctx, const char *pszPrintername, struct loadparm_service *default_service); -struct parm_struct *lpcfg_parm_struct(const char *name); +struct parm_struct *lpcfg_parm_struct(struct loadparm_context *lp_ctx, const char *name); void *lpcfg_parm_ptr(struct loadparm_context *lp_ctx, struct loadparm_service *service, struct parm_struct *parm); bool lpcfg_file_list_changed(struct loadparm_context *lp_ctx); |