Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-11 | s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type | Michael Adam | 2 | -4/+6 | |
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-11 | s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type | Michael Adam | 3 | -13/+21 | |
for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵ | Michael Adam | 2 | -7/+11 | |
bool) for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code | Michael Adam | 3 | -10/+23 | |
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-11 | s3:dbwrap: move definitions of db_record and db_contect structs to ↵ | Michael Adam | 5 | -35/+40 | |
dbwrap_private.h The API and callers now only need the forward declarations. | |||||
2011-10-11 | s3:messages: convert to use only dbwrap wrapper functions | Michael Adam | 1 | -1/+1 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions | Michael Adam | 1 | -13/+45 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:privileges: convert privileges.c to use dbwrap wrapper functions. | Michael Adam | 1 | -8/+22 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:g_lock: convert to use only dbwrap wrapper functions. | Michael Adam | 1 | -15/+30 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:talloc_dict: change to only use dbwrap wrapper functions | Michael Adam | 1 | -17/+39 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:sharesec: convert sharesec.c to use dbwrap wrapper functions | Michael Adam | 1 | -18/+24 | |
Avoid direct use of the db_record and db_context structs | |||||
2011-10-11 | s3:sessionid: convert to using dbwrap wrapper functions only | Michael Adam | 1 | -9/+18 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read() | Michael Adam | 1 | -6/+9 | |
This also changes the return code of sessionid_traverse_read() to NTSTATUS. It also uses traverse_read instead of traverse. | |||||
2011-10-11 | s3:sessionid: use dbwrap_travers() in sessionid_traverse() | Michael Adam | 1 | -6/+8 | |
This also changes sessionid_traverse to NTSTATUS return type. | |||||
2011-10-11 | s3:serverid: convert to using dbwrap wrapper functions only | Michael Adam | 1 | -16/+24 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:serverid: use dbwrap_traverse_read() in serverid_traverse_read() | Michael Adam | 1 | -1/+5 | |
This also fixes the return value: originally the int return value of traverse_read which is a count of the records traversed or negative upon failure, was simply casted into a bool return value. | |||||
2011-10-11 | s3:serverid: use dbwrap_traverse() in serverid_traverse() | Michael Adam | 1 | -1/+4 | |
This also fixes the return value: Originally, the int returned by the traverse method, which is the count of the traverse was casted into a bool return value. | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functions | Michael Adam | 1 | -33/+41 | |
2011-10-11 | s3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32() | Michael Adam | 1 | -2/+6 | |
2011-10-11 | s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵ | Michael Adam | 5 | -25/+28 | |
dbwrap_fetch_bystring_upper() to NTSTATUS | |||||
2011-10-11 | s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked | Michael Adam | 2 | -0/+10 | |
2011-10-11 | s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add get-functions for db_record key, value and private_data | Michael Adam | 2 | -0/+19 | |
2011-10-11 | s3:dbwrap: add wrapper function dbwrap_get_seqnum() | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add wrappers for transactions start/cancel/commit | Michael Adam | 2 | -0/+18 | |
2011-10-11 | s3:dbwrap: add wrapper dbwrap_get_flags() | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: fix db_rbt_traverse() to return the record count on success | Gregor Beck | 1 | -5/+14 | |
this makes it consistent with documented behaviour of tdb_traverse() Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdb | Gregor Beck | 1 | -0/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add a comment | Michael Adam | 1 | -0/+4 | |
2011-10-11 | s3:dbwrap: add function dbwrap_wipe() | Gregor Beck | 4 | -0/+29 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record() | Gregor Beck | 1 | -10/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: allow NULL parser for dbwrap_parse_record() | Gregor Beck | 1 | -0/+9 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found" | Gregor Beck | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add function dbwrap_parse_record() | Gregor Beck | 2 | -0/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+6 | |
2011-10-11 | s3:dbwrap: factor out db_rpt_search_internal() | Gregor Beck | 1 | -46/+43 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdb | Gregor Beck | 1 | -0/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add function dbwrap_exists() | Gregor Beck | 2 | -0/+31 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add a wrapper dbwrap_traverse_read() | Michael Adam | 2 | -0/+22 | |
2011-10-11 | s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵ | Michael Adam | 2 | -3/+14 | |
additional parameter | |||||
2011-10-11 | s3:dbwrap: reorganize dbwrap.h some | Michael Adam | 1 | -5/+8 | |
2011-10-11 | s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystem | Michael Adam | 2 | -9/+8 | |
2011-10-11 | s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -16/+16 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -15/+14 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -12/+14 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.h | Michael Adam | 4 | -2/+31 | |
2011-10-11 | s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.h | Michael Adam | 3 | -8/+37 | |