diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-15 10:52:07 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-22 15:16:47 +0200 |
commit | e0abd1938a05185f09ee99e000783320647a744a (patch) | |
tree | 4bc5db2e4ce810f88f3c1bc3299730b8428ac616 /lib/dbwrap/dbwrap.h | |
parent | ce7b0b9906685740e18c599cb3b453f58c8565d1 (diff) | |
download | samba-e0abd1938a05185f09ee99e000783320647a744a.tar.gz samba-e0abd1938a05185f09ee99e000783320647a744a.tar.bz2 samba-e0abd1938a05185f09ee99e000783320647a744a.zip |
dbwrap: Add dbwrap_fetch_int32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/dbwrap/dbwrap.h')
-rw-r--r-- | lib/dbwrap/dbwrap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h index 6184453812..5244ff216c 100644 --- a/lib/dbwrap/dbwrap.h +++ b/lib/dbwrap/dbwrap.h @@ -93,6 +93,8 @@ NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key, NTSTATUS dbwrap_fetch_bystring(struct db_context *db, TALLOC_CTX *mem_ctx, const char *key, TDB_DATA *value); +NTSTATUS dbwrap_fetch_int32(struct db_context *db, TDB_DATA key, + int32_t *result); NTSTATUS dbwrap_fetch_int32_bystring(struct db_context *db, const char *keystr, int32_t *result); NTSTATUS dbwrap_store_int32_bystring(struct db_context *db, const char *keystr, |