1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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
This commit is contained in:
Andrew Bartlett 2012-07-24 09:48:32 +10:00
parent 3367fd01d4
commit c1065ff073

View File

@ -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,