summaryrefslogtreecommitdiff
path: root/lib/dbwrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:51:21 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 14:19:57 +0200
commit1d9ff7d3bc111f83f8ae45277c0507c4306c0c01 (patch)
tree1c89b6b1262413f473f6d11956a3cd56173e2003 /lib/dbwrap
parent64fec465c15fea77313643636d82d2c14115f434 (diff)
downloadsamba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.tar.gz
samba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.tar.bz2
samba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.zip
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
Diffstat (limited to 'lib/dbwrap')
-rw-r--r--lib/dbwrap/dbwrap.h5
-rw-r--r--lib/dbwrap/dbwrap_util.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index bf172d22cd..41bcf357eb 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -115,8 +115,9 @@ NTSTATUS dbwrap_trans_delete(struct db_context *db, TDB_DATA key);
NTSTATUS dbwrap_trans_store_int32_bystring(struct db_context *db,
const char *keystr,
int32_t v);
-NTSTATUS dbwrap_trans_store_uint32(struct db_context *db, const char *keystr,
- uint32_t v);
+NTSTATUS dbwrap_trans_store_uint32_bystring(struct db_context *db,
+ const char *keystr,
+ uint32_t v);
NTSTATUS dbwrap_trans_store_bystring(struct db_context *db, const char *key,
TDB_DATA data, int flags);
NTSTATUS dbwrap_trans_delete_bystring(struct db_context *db, const char *key);
diff --git a/lib/dbwrap/dbwrap_util.c b/lib/dbwrap/dbwrap_util.c
index 15736b351a..8e6498d7d0 100644
--- a/lib/dbwrap/dbwrap_util.c
+++ b/lib/dbwrap/dbwrap_util.c
@@ -394,8 +394,9 @@ NTSTATUS dbwrap_trans_store_int32_bystring(struct db_context *db,
TDB_REPLACE);
}
-NTSTATUS dbwrap_trans_store_uint32(struct db_context *db, const char *keystr,
- uint32_t v)
+NTSTATUS dbwrap_trans_store_uint32_bystring(struct db_context *db,
+ const char *keystr,
+ uint32_t v)
{
uint32_t v_store;