diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-01-14 17:53:49 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-12 13:17:13 +1300 |
commit | aea623e050530ad79c47e590373ad8241eb3914d (patch) | |
tree | ba04d7a711b70085ea9e33c1ca5585e65741157a /lib/param/loadparm.c | |
parent | a7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0 (diff) | |
download | samba-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.c | 4 |
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); |