diff options
author | Michael Adam <obnox@samba.org> | 2008-10-20 23:52:02 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-10-27 13:02:38 +0100 |
commit | 9299d53ef95a72f10d3ccde175ae5c90d2c95333 (patch) | |
tree | 6929032dbab324ef84d7454bfd038e4ad5660ae8 /source3/lib/smbconf/smbconf.c | |
parent | 0ee8992331ea52e3be64a21f87a3495fe22c4112 (diff) | |
download | samba-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.c')
-rw-r--r-- | source3/lib/smbconf/smbconf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf.c b/source3/lib/smbconf/smbconf.c index 77a438048f..f0188380a0 100644 --- a/source3/lib/smbconf/smbconf.c +++ b/source3/lib/smbconf/smbconf.c @@ -43,6 +43,15 @@ static WERROR smbconf_global_check(struct smbconf_ctx *ctx) **********************************************************************/ /** + * Tell whether the backend requires messaging to be set up + * for the backend to work correctly. + */ +bool smbconf_backend_requires_messaging(struct smbconf_ctx *ctx) +{ + return ctx->ops->requires_messaging(ctx); +} + +/** * Close the configuration. */ void smbconf_shutdown(struct smbconf_ctx *ctx) |