summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-07 11:25:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:53 -0500
commitf79a4b85f291a46f64af97e1dcc2176a4eecd642 (patch)
tree16546f7c751c9415f4033144ddd2fedd3c4412c7
parentdeed2831c95394a831cb13e6878f7deed8faeb36 (diff)
downloadsamba-f79a4b85f291a46f64af97e1dcc2176a4eecd642.tar.gz
samba-f79a4b85f291a46f64af97e1dcc2176a4eecd642.tar.bz2
samba-f79a4b85f291a46f64af97e1dcc2176a4eecd642.zip
r22739: Make prototypes in include/util_tdb.h of some functions from
lib/util_tdb.c exactly match the definitions. (There were some [u]int_32_t instead of [u]int32, which made a gcc 2.95 on an old AIX without system [u]int32[_t] types complain...) (This used to be commit 7cae0d61170485eb220f546899dfa78f1805a272)
-rw-r--r--source3/include/util_tdb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index bdf11d59ee..803d18c5eb 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -43,7 +43,7 @@ struct tdb_wrap {
TDB_LIST_NODE *tdb_search_keys(struct tdb_context*, const char*);
void tdb_search_list_free(TDB_LIST_NODE*);
-int32_t tdb_change_int32_atomic(struct tdb_context *tdb, const char *keystr, int32_t *oldval, int32_t change_val);
+int32 tdb_change_int32_atomic(struct tdb_context *tdb, const char *keystr, int32 *oldval, int32 change_val);
int tdb_lock_bystring(struct tdb_context *tdb, const char *keyval);
int tdb_lock_bystring_with_timeout(TDB_CONTEXT *tdb, const char *keyval,
int timeout);
@@ -51,10 +51,10 @@ void tdb_unlock_bystring(struct tdb_context *tdb, const char *keyval);
int tdb_read_lock_bystring_with_timeout(TDB_CONTEXT *tdb, const char *keyval,
unsigned int timeout);
void tdb_read_unlock_bystring(TDB_CONTEXT *tdb, const char *keyval);
-int32_t tdb_fetch_int32(struct tdb_context *tdb, const char *keystr);
-int tdb_store_uint32(struct tdb_context *tdb, const char *keystr, uint32_t value);
-int tdb_store_int32(struct tdb_context *tdb, const char *keystr, int32_t v);
-int tdb_fetch_uint32(struct tdb_context *tdb, const char *keystr, uint32_t *value);
+int32 tdb_fetch_int32(struct tdb_context *tdb, const char *keystr);
+int tdb_store_uint32(struct tdb_context *tdb, const char *keystr, uint32 value);
+int tdb_store_int32(struct tdb_context *tdb, const char *keystr, int32 v);
+int tdb_fetch_uint32(struct tdb_context *tdb, const char *keystr, uint32 *value);
int tdb_traverse_delete_fn(struct tdb_context *the_tdb, TDB_DATA key, TDB_DATA dbuf,
void *state);
int tdb_store_bystring(struct tdb_context *tdb, const char *keystr, TDB_DATA data, int flags);
@@ -69,7 +69,7 @@ TDB_DATA string_tdb_data(const char *string);
TDB_DATA string_term_tdb_data(const char *string);
int tdb_trans_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf,
int flag);
-int tdb_change_uint32_atomic(TDB_CONTEXT *tdb, const char *keystr,
+BOOL tdb_change_uint32_atomic(TDB_CONTEXT *tdb, const char *keystr,
uint32 *oldval, uint32 change_val);
int tdb_chainlock_with_timeout( TDB_CONTEXT *tdb, TDB_DATA key,
unsigned int timeout);