summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap/dbwrap.h
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return typeMichael Adam1-1/+2
for consistency and better error propagation Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104
2011-10-11s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return typeMichael Adam1-1/+2
for consistency and better error propagation
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam1-2/+2
bool) for consistency and better error propagation
2011-10-11s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return codeMichael Adam1-1/+2
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database.
2011-10-11s3:dbwrap: move definitions of db_record and db_contect structs to ↵Michael Adam1-35/+2
dbwrap_private.h The API and callers now only need the forward declarations.
2011-10-11s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam1-6/+6
dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_lockedMichael Adam1-0/+3
2011-10-11s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_recMichael Adam1-0/+1
2011-10-11s3:dbwrap: add dbwrap_record_store(), a wrapper for record->storeMichael Adam1-0/+1
2011-10-11s3:dbwrap: add get-functions for db_record key, value and private_dataMichael Adam1-0/+4
2011-10-11s3:dbwrap: add wrapper function dbwrap_get_seqnum()Michael Adam1-0/+1
2011-10-11s3:dbwrap: add wrappers for transactions start/cancel/commitMichael Adam1-0/+3
2011-10-11s3:dbwrap: add wrapper dbwrap_get_flags()Michael Adam1-0/+1
2011-10-11s3:dbwrap: add function dbwrap_wipe()Gregor Beck1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add function dbwrap_parse_record()Gregor Beck1-0/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add function dbwrap_exists()Gregor Beck1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add a wrapper dbwrap_traverse_read()Michael Adam1-0/+4
2011-10-11s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵Michael Adam1-1/+2
additional parameter
2011-10-11s3:dbwrap: reorganize dbwrap.h someMichael Adam1-5/+8
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam1-2/+0
2011-10-11s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.hMichael Adam1-8/+0
2011-10-11s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.hMichael Adam1-5/+0
2011-10-11s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.hMichael Adam1-7/+0
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam1-0/+138
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104