summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-14 11:53:25 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:25 +0200
commit9bbf4bd0f32bd950d94460f751052480d09e711a (patch)
treef293238fa43e7e76051061208fc45fb7bb24f475
parent6babdaf6b742760fc1db9c0c9fcf92e92a9aafdc (diff)
downloadsamba-9bbf4bd0f32bd950d94460f751052480d09e711a.tar.gz
samba-9bbf4bd0f32bd950d94460f751052480d09e711a.tar.bz2
samba-9bbf4bd0f32bd950d94460f751052480d09e711a.zip
libsmbconf: Document smbconf_transaction_commit().
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--lib/smbconf/smbconf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index c3cd2b34ed..fffdd7613e 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -447,7 +447,20 @@ sbcErr smbconf_delete_global_includes(struct smbconf_ctx *ctx);
*/
sbcErr smbconf_transaction_start(struct smbconf_ctx *ctx);
+/**
+ * @brief Commit a transaction on the configuration backend.
+ *
+ * This is to speed up writes to the registry based backend.
+ *
+ * @param[in] ctx The smbconf context to commit the transaction.
+ *
+ * @return SBC_ERR_OK on success, a corresponding sbcErr if an
+ * error occured.
+ *
+ * @see smbconf_transaction_start()
+ */
sbcErr smbconf_transaction_commit(struct smbconf_ctx *ctx);
+
sbcErr smbconf_transaction_cancel(struct smbconf_ctx *ctx);
#endif /* _LIBSMBCONF_H_ */