libsmbconf: Document smbconf_transaction_start().
authorAndreas Schneider <asn@samba.org>
Thu, 14 Apr 2011 09:52:30 +0000 (11:52 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 11 May 2011 10:03:31 +0000 (12:03 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/smbconf/smbconf.h

index 0268ad4bd48c1725b1d1f9e5b73b8805a4f4afdb..c3cd2b34ed9070f064e267e0d6d5fd50d9a00527 100644 (file)
@@ -435,7 +435,18 @@ sbcErr smbconf_delete_includes(struct smbconf_ctx *ctx, const char *service);
  */
 sbcErr smbconf_delete_global_includes(struct smbconf_ctx *ctx);
 
+/**
+ * @brief Start a transaction on the configuration backend.
+ *
+ * This is to speed up writes to the registry based backend.
+ *
+ * @param[in] ctx       The smbconf context to start the transaction.
+ *
+ * @return              SBC_ERR_OK on success, a corresponding sbcErr if an
+ *                      error occured.
+ */
 sbcErr smbconf_transaction_start(struct smbconf_ctx *ctx);
+
 sbcErr smbconf_transaction_commit(struct smbconf_ctx *ctx);
 sbcErr smbconf_transaction_cancel(struct smbconf_ctx *ctx);