summaryrefslogtreecommitdiff
path: root/lib/dbwrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-14 20:30:16 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:27 +0200
commit749314fcf99cef4a1a162d622e10b6eb8998938f (patch)
treeedb8bf82c76fb96ee4a125f147e33273641416fd /lib/dbwrap
parent737c0a54731803c84f0f29d96dd40ac819aec3e8 (diff)
downloadsamba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.gz
samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.bz2
samba-749314fcf99cef4a1a162d622e10b6eb8998938f.zip
dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r--lib/dbwrap/dbwrap.h4
-rw-r--r--lib/dbwrap/dbwrap_util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index 677dbed765..7123ca7a61 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -87,8 +87,8 @@ NTSTATUS dbwrap_fetch_bystring(struct db_context *db, TALLOC_CTX *mem_ctx,
NTSTATUS dbwrap_fetch_int32_bystring(struct db_context *db, const char *keystr,
int32_t *result);
-NTSTATUS dbwrap_store_int32(struct db_context *db, const char *keystr,
- int32_t v);
+NTSTATUS dbwrap_store_int32_bystring(struct db_context *db, const char *keystr,
+ int32_t v);
NTSTATUS dbwrap_fetch_uint32(struct db_context *db, const char *keystr,
uint32_t *val);
NTSTATUS dbwrap_store_uint32(struct db_context *db, const char *keystr,
diff --git a/lib/dbwrap/dbwrap_util.c b/lib/dbwrap/dbwrap_util.c
index 2865da0244..a3876064ad 100644
--- a/lib/dbwrap/dbwrap_util.c
+++ b/lib/dbwrap/dbwrap_util.c
@@ -51,8 +51,8 @@ NTSTATUS dbwrap_fetch_int32_bystring(struct db_context *db, const char *keystr,
return NT_STATUS_OK;
}
-NTSTATUS dbwrap_store_int32(struct db_context *db, const char *keystr,
- int32_t v)
+NTSTATUS dbwrap_store_int32_bystring(struct db_context *db, const char *keystr,
+ int32_t v)
{
struct db_record *rec;
int32_t v_store;