summaryrefslogtreecommitdiffstats
path: root/lib/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 /lib/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 'lib/param/loadparm.c')
-rw-r--r--lib/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index d3bd85c013..fedabad775 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -324,6 +324,10 @@ FN_GLOBAL_BOOL(writeraw, bWriteRaw)
FN_GLOBAL_CONST_STRING(cachedir, szCacheDir)
FN_GLOBAL_CONST_STRING(statedir, szStateDir)
+/* These functions cannot be auto-generated */
+FN_LOCAL_BOOL(autoloaded, autoloaded)
+FN_GLOBAL_CONST_STRING(dnsdomain, dnsdomain)
+
/* local prototypes */
static struct loadparm_service *getservicebyname(struct loadparm_context *lp_ctx,
const char *pszServiceName);