diff options
author | Jeremy Allison <jra@samba.org> | 2017-04-18 10:21:50 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-04-18 22:54:15 +0200 |
commit | 1e8e048bf01447148ffa89ec237e2f9f58ff0ab6 (patch) | |
tree | 3a273fd4a3ccb995017766eae89ea8b20e45051d /lib/param/param.h | |
parent | 4fe2b24b34192606e3a45f64a3e5e5449873bf3c (diff) | |
download | samba-1e8e048bf01447148ffa89ec237e2f9f58ff0ab6.tar.gz |
lib: param: Remove lpcfg_register_defaults_hook().
Completely unused functionality. Gets rid of another
talloc_autofree_context(). Updated WHATSNEW to make
this clear.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'lib/param/param.h')
-rw-r--r-- | lib/param/param.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/param/param.h b/lib/param/param.h index a6dbafa42f9..589b8906db5 100644 --- a/lib/param/param.h +++ b/lib/param/param.h @@ -47,8 +47,6 @@ struct gensec_settings; struct bitmap; struct file_lists; -typedef bool (*lpcfg_defaults_hook) (struct loadparm_context *); - #ifdef CONFIG_H_IS_FROM_SAMBA #include "lib/param/param_proto.h" #include "lib/param/param_functions.h" @@ -216,20 +214,6 @@ const char *lpcfg_socket_options(struct loadparm_context *); struct dcerpc_server_info *lpcfg_dcerpc_server_info(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx); struct gensec_settings *lpcfg_gensec_settings(TALLOC_CTX *, struct loadparm_context *); -/* Hooks to override defaults. - * - * Every time a loadparm context is initialized, the hooks are - * called on it, once Samba itself has set defaults. - * - * This allows modules to tweak defaults (before any smb.conf file or registry - * is loaded). Usually they would do this by calling lpcfg_do_global_parameter - * or lpcfg_do_service_parameter. - * - * A good use case for this is OpenChange, which by default enables its - * DCE/RPC services when it is installed. - * */ -bool lpcfg_register_defaults_hook(const char *name, lpcfg_defaults_hook hook); - /* The following definitions come from param/util.c */ |