diff options
author | Michael Adam <obnox@samba.org> | 2013-09-22 10:27:38 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-24 07:44:28 +0200 |
commit | c1be069be94b71c1d85471314c0971bd091af194 (patch) | |
tree | c61214120b43385d3c9daedd6dc2478f6790db20 /source3/lib/smbconf/smbconf_reg.h | |
parent | 4a65969e11d3bc7da62afec82de9f6d51d5e6a08 (diff) | |
download | samba-c1be069be94b71c1d85471314c0971bd091af194.tar.gz samba-c1be069be94b71c1d85471314c0971bd091af194.tar.bz2 samba-c1be069be94b71c1d85471314c0971bd091af194.zip |
libsmbconf:registry: publish smbconf_reg_parameter_is_valid()
So that this does not need to be duplicated..
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/lib/smbconf/smbconf_reg.h')
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.h b/source3/lib/smbconf/smbconf_reg.h index 2c49057a94..a3f343f694 100644 --- a/source3/lib/smbconf/smbconf_reg.h +++ b/source3/lib/smbconf/smbconf_reg.h @@ -29,5 +29,10 @@ struct smbconf_ctx; sbcErr smbconf_init_reg(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, const char *path); +/** + * Check whether a given parameter name is valid in the + * smbconf registry backend. + */ +bool smbconf_reg_parameter_is_valid(const char *param_name); #endif /* _LIBSMBCONF_REG_H_ */ |