diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-15 09:18:17 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-15 12:14:28 +0200 |
commit | 37ad03f91d28c39533ece09384a12e63603c3e8a (patch) | |
tree | 8136473a27b1e68c9c6a2a83d8173e484ec27843 /lib | |
parent | 8f94ecbb90f3efedc3e379853dd71369d53cb1f7 (diff) | |
download | samba-37ad03f91d28c39533ece09384a12e63603c3e8a.tar.gz |
dbwrap: dbwrap_change_uint32_atomic->dbwrap_change_uint32_atomic_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dbwrap/dbwrap.h | 6 | ||||
-rw-r--r-- | lib/dbwrap/dbwrap_util.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h index d0df1e5afa..69683ca0f3 100644 --- a/lib/dbwrap/dbwrap.h +++ b/lib/dbwrap/dbwrap.h @@ -93,8 +93,10 @@ NTSTATUS dbwrap_fetch_uint32_bystring(struct db_context *db, const char *keystr, uint32_t *val); NTSTATUS dbwrap_store_uint32_bystring(struct db_context *db, const char *keystr, uint32_t v); -NTSTATUS dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr, - uint32_t *oldval, uint32_t change_val); +NTSTATUS dbwrap_change_uint32_atomic_bystring(struct db_context *db, + const char *keystr, + uint32_t *oldval, + uint32_t change_val); NTSTATUS dbwrap_trans_change_uint32_atomic(struct db_context *db, const char *keystr, uint32_t *oldval, diff --git a/lib/dbwrap/dbwrap_util.c b/lib/dbwrap/dbwrap_util.c index 21f2a80950..2af170a10e 100644 --- a/lib/dbwrap/dbwrap_util.c +++ b/lib/dbwrap/dbwrap_util.c @@ -180,8 +180,10 @@ done: return ret; } -NTSTATUS dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr, - uint32_t *oldval, uint32_t change_val) +NTSTATUS dbwrap_change_uint32_atomic_bystring(struct db_context *db, + const char *keystr, + uint32_t *oldval, + uint32_t change_val) { NTSTATUS ret; struct dbwrap_change_uint32_atomic_context state; |