summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_private.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_private.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_private.h')
-rw-r--r--source3/lib/smbconf/smbconf_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf_private.h b/source3/lib/smbconf/smbconf_private.h
index a47d81fa25..b0333e981a 100644
--- a/source3/lib/smbconf/smbconf_private.h
+++ b/source3/lib/smbconf/smbconf_private.h
@@ -24,6 +24,7 @@ struct smbconf_ops {
WERROR (*init)(struct smbconf_ctx *ctx, const char *path);
int (*shutdown)(struct smbconf_ctx *ctx);
bool (*requires_messaging)(struct smbconf_ctx *ctx);
+ bool (*is_writeable)(struct smbconf_ctx *ctx);
WERROR (*open_conf)(struct smbconf_ctx *ctx);
int (*close_conf)(struct smbconf_ctx *ctx);
void (*get_csn)(struct smbconf_ctx *ctx, struct smbconf_csn *csn,