diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-22 00:18:05 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-26 11:05:22 +0100 |
commit | 9475e88beadd19c245ca4010c398652a85ccfd78 (patch) | |
tree | 98be306944a0713c0abc7c0f6becefbe38ed317a /source3/include | |
parent | 16f61a6f90060d40f0348cb433e3b900ae05fcba (diff) | |
download | samba-9475e88beadd19c245ca4010c398652a85ccfd78.tar.gz samba-9475e88beadd19c245ca4010c398652a85ccfd78.tar.bz2 samba-9475e88beadd19c245ca4010c398652a85ccfd78.zip |
Add dbwrap->parse_record
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/dbwrap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h index aad4ccd721..16f10cc125 100644 --- a/source3/include/dbwrap.h +++ b/source3/include/dbwrap.h @@ -46,6 +46,10 @@ struct db_context { int (*transaction_start)(struct db_context *db); int (*transaction_commit)(struct db_context *db); int (*transaction_cancel)(struct db_context *db); + int (*parse_record)(struct db_context *db, TDB_DATA key, + int (*parser)(TDB_DATA key, TDB_DATA data, + void *private_data), + void *private_data); void *private_data; bool persistent; }; |