s3:libsmbconf: add transactions to the libsmbconf api
commita7a672ce0bd98514532845727882c4e0a96cd5f8
authorMichael Adam <obnox@samba.org>
Tue, 24 Feb 2009 10:25:44 +0000 (24 11:25 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2009 13:15:40 +0000 (27 14:15 +0100)
tree64146c752f0632824fef2ef114318fa775695310
parent209eee39a31dda71b1ccf2589db9af82d910cdb2
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

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 8dd46903944c48e171837729cbe937f54d9554b7)
source/lib/smbconf/smbconf.c
source/lib/smbconf/smbconf.h
source/lib/smbconf/smbconf_private.h
source/lib/smbconf/smbconf_reg.c
source/lib/smbconf/smbconf_txt.c