s3:dbwrap: add a wrapper dbwrap_trans_do()
authorMichael Adam <obnox@samba.org>
Wed, 15 Jul 2009 12:00:42 +0000 (14:00 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 15 Jul 2009 12:00:43 +0000 (14:00 +0200)
commit5b594c695884aebdfbb199549901fea954122929
tree0a6c7bf31c34cdc00c0771ef4f1a4dcf65674545
parentf49129e59225f6ea84add8e845ffaeb03dc6c8da
s3:dbwrap: add a wrapper dbwrap_trans_do()

This function wraps the action() callback into a db
transaction and the transaction is either committed
or cancelled, depending on the return value of
the action function.

Michael
source3/include/proto.h
source3/lib/dbwrap_util.c