1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libsmbconf: Document smbconf_transaction_start().

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Andreas Schneider 2011-04-14 11:52:30 +02:00 committed by Michael Adam
parent d9407a5a55
commit 6babdaf6b7

View 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);