Volker Lendecke
664eb70e74
s3-dbwrap: & is not required when taking a function pointer
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104
2011-12-08 16:39:28 +01:00
Volker Lendecke
4856033410
s3-dbwrap: Make dbwrap_fallback_wipe private
2011-12-08 15:03:43 +01:00
Volker Lendecke
d9e5368fcc
s3-dbwrap: Avoid an "else" by an early return
2011-12-08 15:03:43 +01:00
Volker Lendecke
5cda77d599
s3-dbwrap: Make dbwrap_fallback_parse_record private
...
We have the private fallback in dbwrap_parse_record anyway
2011-12-08 15:03:43 +01:00
Volker Lendecke
527dc2ed52
s3-dbwrap: Make dbwrap_fallback_fetch private
2011-12-08 15:03:43 +01:00
Volker Lendecke
b6d5dfc16d
s3-dbwrap: use wrappers where appropriate
2011-12-08 15:03:43 +01:00
Volker Lendecke
a47780af22
s3: Fix some nonblank line endings
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 2 20:39:33 CET 2011 on sn-devel-104
2011-12-02 20:39:33 +01:00
Volker Lendecke
259cb94c11
s3: Remove unused dbwrap_record_get_private_data
...
db_record->private_data is for backends which can include dbwrap_private.h
anyway.
2011-12-02 19:03:13 +01:00
Michael Adam
efb993b686
s3:dbwrap: turn the fetch dbwrap method to NTSTATUS return code.
...
This implement more correct NTSTATUS handling inside the backends.
This ensures that data.dptr != NULL if return code is NT_STATUS_OK.
2011-11-29 18:20:06 +01:00
Michael Adam
0e28448a78
s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11 14:17:56 +02:00
Michael Adam
25a9978c2c
s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked
2011-10-11 14:17:56 +02:00
Michael Adam
46370441b7
s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec
2011-10-11 14:17:56 +02:00
Michael Adam
b257e83d89
s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store
2011-10-11 14:17:56 +02:00
Michael Adam
bfed62c169
s3:dbwrap: add get-functions for db_record key, value and private_data
2011-10-11 14:17:56 +02:00
Michael Adam
3ed2fb4a87
s3:dbwrap: add wrapper function dbwrap_get_seqnum()
2011-10-11 14:17:56 +02:00
Michael Adam
373b0606a3
s3:dbwrap: add wrappers for transactions start/cancel/commit
2011-10-11 14:17:56 +02:00
Michael Adam
d8ce5bc656
s3:dbwrap: add wrapper dbwrap_get_flags()
2011-10-11 14:17:56 +02:00
Michael Adam
3dc607c0c6
s3:dbwrap: add a comment
2011-10-11 14:17:55 +02:00
Gregor Beck
dc4a5f5323
s3:dbwrap: add function dbwrap_wipe()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Gregor Beck
c5d03cbff8
s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Gregor Beck
99fa6fa4a3
s3:dbwrap: allow NULL parser for dbwrap_parse_record()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Gregor Beck
f5b7d87c25
s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Gregor Beck
893805b99c
s3:dbwrap: add function dbwrap_parse_record()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Gregor Beck
87b68cea5b
s3:dbwrap: add function dbwrap_exists()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11 14:17:55 +02:00
Michael Adam
87f51bfa99
s3:dbwrap: add a wrapper dbwrap_traverse_read()
2011-10-11 14:17:55 +02:00
Michael Adam
8f098a635f
s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an additional parameter
2011-10-11 14:17:55 +02:00
Michael Adam
2d52f6f8f5
s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystem
2011-10-11 14:17:55 +02:00
Michael Adam
663c661b11
s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap subsystem
2011-10-11 14:17:55 +02:00
Michael Adam
2aa5601c0a
s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap subsystem
2011-10-11 14:17:55 +02:00
Michael Adam
c3868b7488
s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap subsystem
2011-10-11 14:17:55 +02:00
Michael Adam
0b5c4a601a
s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29 13:34:22 +02:00