summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-10-23 11:16:50 +0200
committerMichael Adam <obnox@samba.org>2008-10-27 13:02:40 +0100
commit3a06201086e77b1c6bd8cf9374f02e5f667aa86c (patch)
treedbbf64c4948a51bba221e03f0ea5972a3bc8684c /source3/lib/smbconf/smbconf.h
parent9c09d545bfae9e4abde317364b1586b691ba4d89 (diff)
downloadsamba-3a06201086e77b1c6bd8cf9374f02e5f667aa86c.tar.gz
samba-3a06201086e77b1c6bd8cf9374f02e5f667aa86c.tar.bz2
samba-3a06201086e77b1c6bd8cf9374f02e5f667aa86c.zip
[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()
This allows for per-config-source checking of write support. Michael
Diffstat (limited to 'source3/lib/smbconf/smbconf.h')
-rw-r--r--source3/lib/smbconf/smbconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf.h b/source3/lib/smbconf/smbconf.h
index 3f3435ea00..9ff9a83fad 100644
--- a/source3/lib/smbconf/smbconf.h
+++ b/source3/lib/smbconf/smbconf.h
@@ -57,6 +57,7 @@ WERROR smbconf_init_txt(TALLOC_CTX *mem_ctx,
* the smbconf API functions
*/
bool smbconf_backend_requires_messaging(struct smbconf_ctx *ctx);
+bool smbconf_is_writeable(struct smbconf_ctx *ctx);
void smbconf_shutdown(struct smbconf_ctx *ctx);
bool smbconf_changed(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
const char *service, const char *param);