diff options
author | Andreas Schneider <asn@samba.org> | 2011-04-14 11:53:25 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-15 20:20:48 +0200 |
commit | 1edd2d5377344811589b9075d22d55575f70831f (patch) | |
tree | 5361991a5366b11df1bd1ef9f5d2ef2f42d5276d /lib | |
parent | 3cde147e14e8174deea2115fb901f161bd486fad (diff) | |
download | samba-1edd2d5377344811589b9075d22d55575f70831f.tar.gz samba-1edd2d5377344811589b9075d22d55575f70831f.tar.xz samba-1edd2d5377344811589b9075d22d55575f70831f.zip |
libsmbconf: Document smbconf_transaction_commit().
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 4e381dc571207df44d8024e7bab83ab116011bea)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smbconf/smbconf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h index c3cd2b34ed9..fffdd7613e3 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_ */ |