summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_private.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-10-20 23:52:02 +0200
committerMichael Adam <obnox@samba.org>2008-10-27 13:02:38 +0100
commit9299d53ef95a72f10d3ccde175ae5c90d2c95333 (patch)
tree6929032dbab324ef84d7454bfd038e4ad5660ae8 /source3/lib/smbconf/smbconf_private.h
parent0ee8992331ea52e3be64a21f87a3495fe22c4112 (diff)
downloadsamba-9299d53ef95a72f10d3ccde175ae5c90d2c95333.tar.gz
samba-9299d53ef95a72f10d3ccde175ae5c90d2c95333.tar.bz2
samba-9299d53ef95a72f10d3ccde175ae5c90d2c95333.zip
[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. 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 8e7d6a9983..a47d81fa25 100644
--- a/source3/lib/smbconf/smbconf_private.h
+++ b/source3/lib/smbconf/smbconf_private.h
@@ -23,6 +23,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);
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,