From c1065ff073746290f8f79bdb0bbe8a862530d587 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Jul 2012 09:48:32 +1000 Subject: lib/param: Add handler overrides These #defines allow us to merge the parameter table without providing the handler functions quite yet. This helps us do this task in stages. Andrew Bartlett --- lib/param/loadparm.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lib') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 8e5fba8c20..69c1469f16 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -89,6 +89,24 @@ static bool defaults_saved = false; #define NUMPARAMETERS (sizeof(parm_table) / sizeof(struct parm_struct)) +/* we don't need a special handler for "dos charset" and "unix charset" */ +#define handle_dos_charset NULL +#define handle_charset NULL + +/* these are parameter handlers which are not needed in the + * non-source3 code + */ +#define handle_netbios_aliases NULL +#define handle_debug_list NULL +#define handle_printing NULL +#define handle_ldap_debug_level NULL +#define handle_idmap_backend NULL +#define handle_idmap_uid NULL +#define handle_idmap_gid NULL + +#ifndef N_ +#define N_(x) x +#endif /* prototypes for the special type handlers */ static bool handle_include(struct loadparm_context *lp_ctx, int unused, -- cgit