summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-01-14 17:53:49 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-02-12 13:17:13 +1300
commitaea623e050530ad79c47e590373ad8241eb3914d (patch)
treeba04d7a711b70085ea9e33c1ca5585e65741157a /source3/param/loadparm.c
parenta7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0 (diff)
downloadsamba-aea623e050530ad79c47e590373ad8241eb3914d.tar.gz
samba-aea623e050530ad79c47e590373ad8241eb3914d.tar.xz
samba-aea623e050530ad79c47e590373ad8241eb3914d.zip
param: auto generate param_functions.c at build time
generate_param.py reads the documentation to define which functions need to be generated. To add new parameters, edit the xml files in docs-xml/smbdotconf. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index cf37348f5d0..b4b79aaa29d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1238,6 +1238,10 @@ FN_GLOBAL_STRING(configfile, szConfigFile)
FN_LOCAL_STRING(servicename, szService)
FN_LOCAL_CONST_STRING(const_servicename, szService)
+/* These functions cannot be auto-generated */
+FN_LOCAL_BOOL(autoloaded, autoloaded)
+FN_GLOBAL_CONST_STRING(dnsdomain, dnsdomain)
+
/* local prototypes */
static int map_parameter_canonical(const char *pszParmName, bool *inverse);