summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:43:13 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit8b99d40520875ad89e14d9397cff902f8198fd25 (patch)
tree607e060a765c50f945f9e6495ec050d5cff287fe
parent9275d571d9d0bb4b7927245256aa4510b9e7c43d (diff)
downloadsamba-8b99d40520875ad89e14d9397cff902f8198fd25.tar.gz
samba-8b99d40520875ad89e14d9397cff902f8198fd25.tar.bz2
samba-8b99d40520875ad89e14d9397cff902f8198fd25.zip
dbwrap: dbwrap_change_int32_atomic->dbwrap_change_int32_atomic_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--lib/dbwrap/dbwrap.h6
-rw-r--r--lib/dbwrap/dbwrap_util.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index 2417f2ca3a..a354b3c04f 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -101,8 +101,10 @@ NTSTATUS dbwrap_trans_change_uint32_atomic_bystring(struct db_context *db,
const char *keystr,
uint32_t *oldval,
uint32_t change_val);
-NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,
- int32_t *oldval, int32_t change_val);
+NTSTATUS dbwrap_change_int32_atomic_bystring(struct db_context *db,
+ const char *keystr,
+ int32_t *oldval,
+ int32_t change_val);
NTSTATUS dbwrap_trans_change_int32_atomic(struct db_context *db,
const char *keystr,
int32_t *oldval,
diff --git a/lib/dbwrap/dbwrap_util.c b/lib/dbwrap/dbwrap_util.c
index 00fc562a1d..684e608e09 100644
--- a/lib/dbwrap/dbwrap_util.c
+++ b/lib/dbwrap/dbwrap_util.c
@@ -272,8 +272,10 @@ done:
return ret;
}
-NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,
- int32_t *oldval, int32_t change_val)
+NTSTATUS dbwrap_change_int32_atomic_bystring(struct db_context *db,
+ const char *keystr,
+ int32_t *oldval,
+ int32_t change_val)
{
NTSTATUS ret;
struct dbwrap_change_int32_atomic_context state;