summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-24 09:48:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-24 11:01:17 +0200
commitc1065ff073746290f8f79bdb0bbe8a862530d587 (patch)
treeb7198d6e6866169ca8ada61d430f6b3f8478f8c5 /lib/param
parent3367fd01d4711c481efc8c56fb424ba3bab68dab (diff)
downloadsamba-c1065ff073746290f8f79bdb0bbe8a862530d587.tar.gz
samba-c1065ff073746290f8f79bdb0bbe8a862530d587.tar.bz2
samba-c1065ff073746290f8f79bdb0bbe8a862530d587.zip
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
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.c18
1 files changed, 18 insertions, 0 deletions
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,