mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r22009: change TDB_DATA from char * to unsigned char *
and fix all compiler warnings in the users metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1f047d7e31
commit
3a28443079
@@ -62,10 +62,11 @@ TDB_DATA tdb_fetch_bystring(struct tdb_context *tdb, const char *keystr);
|
||||
int tdb_delete_bystring(struct tdb_context *tdb, const char *keystr);
|
||||
struct tdb_context *tdb_open_log(const char *name, int hash_size,
|
||||
int tdb_flags, int open_flags, mode_t mode);
|
||||
int tdb_unpack(char *buf, int bufsize, const char *fmt, ...);
|
||||
size_t tdb_pack(char *buf, int bufsize, const char *fmt, ...);
|
||||
TDB_DATA make_tdb_data(const char *dptr, size_t dsize);
|
||||
int tdb_unpack(const uint8 *buf, int bufsize, const char *fmt, ...);
|
||||
size_t tdb_pack(uint8 *buf, int bufsize, const char *fmt, ...);
|
||||
TDB_DATA make_tdb_data(const uint8 *dptr, size_t dsize);
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user