diff options
author | Michael Adam <obnox@samba.org> | 2008-03-26 10:45:53 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-26 10:50:35 +0100 |
commit | 6efe4873dcaa78520840a57264881d7b47036b91 (patch) | |
tree | eff1b99f66b50f66b21ad57bdd2b18d097ad8ac5 /source3/lib | |
parent | a4a90c62e6d843599138ca46f6488dca0398aac3 (diff) | |
download | samba-6efe4873dcaa78520840a57264881d7b47036b91.tar.gz samba-6efe4873dcaa78520840a57264881d7b47036b91.tar.bz2 samba-6efe4873dcaa78520840a57264881d7b47036b91.zip |
util_tdb: make the _byblob fetch/store functions public again.
Users of these are currently being written...
Michael
(This used to be commit 1c51bec5318bad085c09931aa7e8f72f41d103fe)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_tdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_tdb.c b/source3/lib/util_tdb.c index 0c56e10163..e9c2d31637 100644 --- a/source3/lib/util_tdb.c +++ b/source3/lib/util_tdb.c @@ -167,7 +167,7 @@ void tdb_read_unlock_bystring(TDB_CONTEXT *tdb, const char *keyval) Output is int32 in native byte order. ****************************************************************************/ -static int32 tdb_fetch_int32_byblob(TDB_CONTEXT *tdb, TDB_DATA key) +int32 tdb_fetch_int32_byblob(TDB_CONTEXT *tdb, TDB_DATA key) { TDB_DATA data; int32 ret; @@ -200,7 +200,7 @@ int32 tdb_fetch_int32(TDB_CONTEXT *tdb, const char *keystr) Input is int32 in native byte order. Output in tdb is in little-endian. ****************************************************************************/ -static int tdb_store_int32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, int32 v) +int tdb_store_int32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, int32 v) { TDB_DATA data; int32 v_store; @@ -229,7 +229,7 @@ int tdb_store_int32(TDB_CONTEXT *tdb, const char *keystr, int32 v) Output is uint32 in native byte order. ****************************************************************************/ -static bool tdb_fetch_uint32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, uint32 *value) +bool tdb_fetch_uint32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, uint32 *value) { TDB_DATA data; @@ -261,7 +261,7 @@ bool tdb_fetch_uint32(TDB_CONTEXT *tdb, const char *keystr, uint32 *value) Input is uint32 in native byte order. Output in tdb is in little-endian. ****************************************************************************/ -static bool tdb_store_uint32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, uint32 value) +bool tdb_store_uint32_byblob(TDB_CONTEXT *tdb, TDB_DATA key, uint32 value) { TDB_DATA data; uint32 v_store; |