Volker Lendecke
ff0eed62d3
dbwrap: Simplify dbwrap_unmarshall_fn
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-08-16 00:27:10 +02:00
Volker Lendecke
ef2de247c1
dbwrap: Simplify dbwrap_trans_delete
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-08-16 00:27:10 +02:00
Volker Lendecke
2ddf8e0abc
dbwrap: Simplify dbwrap_trans_store
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-08-16 00:27:10 +02:00
Volker Lendecke
b01b7c9ef9
dbwrap: Simplify dbwrap_store_uint32_bystring
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-08-16 00:27:10 +02:00
Volker Lendecke
ae28e4db44
dbwrap: Simplify dbwrap_store_int32_bystring
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-08-16 00:27:10 +02:00
Michael Adam
366b51a8ff
dbwrap: add dbwrap_purge[_bystring]
...
Variants of dbrwap_delete[_bysrting] that treats NOT FOUND
as success.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2016-03-01 21:50:24 +01:00
Michael Adam
d4408c495b
dbwrap_util: improve a debug message in dbwrap_delete_action()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2016-03-01 21:50:23 +01:00
Volker Lendecke
bbc5c64191
dbwrap: Add code to marshall a db_context's db
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-12-16 18:56:03 +01:00
Volker Lendecke
8300791a67
dbwrap: Use dbwrap_parse_record in dbwrap_fetch_uint32_bystring
...
Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-29 17:24:35 +01:00
Gregor Beck
fe74b777d2
s3:dbwrap: let dbwrap_fetch_uint32 distinguish between "not found" and "wrong format"
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-21 16:26:38 +02:00
Stefan Metzmacher
4676e7f65d
dbwrap: don't ignore the result of dbwrap_parse_record in dbwrap_fetch_int32()
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 22 17:10:52 CEST 2012 on sn-devel-104
2012-06-22 17:10:52 +02:00
Stefan Metzmacher
0f25bd78ca
dbwrap: intialize state.status in dbwrap_fetch_int32()
...
This might not be needed, but it makes it more clear that
we won't use uninitialized memory, it the callback was not triggered.
metze
2012-06-22 15:16:53 +02:00
Volker Lendecke
d7b9e0d19a
dbwrap: Convert fetch_int32 to dbwrap_parse_record
...
Now dbwrap_fetch_int32 is used in smbd/locking/posix.c is used a
lot more often than before.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22 15:16:52 +02:00
Volker Lendecke
e0abd1938a
dbwrap: Add dbwrap_fetch_int32
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22 15:16:47 +02:00
Volker Lendecke
ce7b0b9906
dbwrap: Add dbwrap_change_int32_atomic
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22 15:16:45 +02:00
Volker Lendecke
1d9ff7d3bc
dbwrap: dbwrap_trans_store_uint32->dbwrap_trans_store_uint32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jun 15 14:20:04 CEST 2012 on sn-devel-104
2012-06-15 14:19:57 +02:00
Volker Lendecke
64fec465c1
dbwrap: dbwrap_trans_store_int32->dbwrap_trans_store_int32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:29 +02:00
Volker Lendecke
07d6c25525
dbwrap: dbwrap_trans_change_int32_atomic->dbwrap_trans_change_int32_atomic_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
8b99d40520
dbwrap: dbwrap_change_int32_atomic->dbwrap_change_int32_atomic_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
9275d571d9
dbwrap: dbwrap_trans_change_uint32_atomic->dbwrap_trans_change_uint32_atomic_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
37ad03f91d
dbwrap: dbwrap_change_uint32_atomic->dbwrap_change_uint32_atomic_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
8f94ecbb90
dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
7f19a5ab52
dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:28 +02:00
Volker Lendecke
749314fcf9
dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:27 +02:00
Volker Lendecke
737c0a5473
dbwrap: dbwrap_fetch_int32->dbwrap_fetch_int32_bystring
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15 12:14:27 +02:00
Volker Lendecke
855d23b742
s3: Use talloc_tos() in more places in dbwrap_util
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Jun 12 15:37:16 CEST 2012 on sn-devel-104
2012-06-12 15:37:15 +02:00
Michael Adam
e945511aae
move the dbwrap library to the top level
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
2012-05-14 04:04:55 +02:00