summaryrefslogtreecommitdiff
path: root/lib/smbconf/smbconf_private.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-24 10:52:30 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 11:05:23 +0100
commitbd121b532cf5a6728b7605072f725cc9c6d47f48 (patch)
treea50f7d1d4fe399dc46417526f62e4f68ac1781d1 /lib/smbconf/smbconf_private.h
parent9f97674ef759c65b874028b7af01fcc65f8dac23 (diff)
downloadsamba-bd121b532cf5a6728b7605072f725cc9c6d47f48.tar.gz
samba-bd121b532cf5a6728b7605072f725cc9c6d47f48.tar.bz2
samba-bd121b532cf5a6728b7605072f725cc9c6d47f48.zip
s3:libsmbconf: add transactions to the libsmbconf api
This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
Diffstat (limited to 'lib/smbconf/smbconf_private.h')
-rw-r--r--lib/smbconf/smbconf_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf_private.h b/lib/smbconf/smbconf_private.h
index c9e44181c6..e6998ad639 100644
--- a/lib/smbconf/smbconf_private.h
+++ b/lib/smbconf/smbconf_private.h
@@ -68,6 +68,9 @@ struct smbconf_ops {
uint32_t num_includes, const char **includes);
WERROR (*delete_includes)(struct smbconf_ctx *ctx,
const char *service);
+ WERROR (*transaction_start)(struct smbconf_ctx *ctx);
+ WERROR (*transaction_commit)(struct smbconf_ctx *ctx);
+ WERROR (*transaction_cancel)(struct smbconf_ctx *ctx);
};
struct smbconf_ctx {