Lines Matching refs:tdb
60 #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret)
114 …void (*log_fn)(struct tdb_context *tdb, int level, const char *, ...) PRINTF_ATTRIBUTE(3,4); /* lo…
130 int tdb_reopen(TDB_CONTEXT *tdb);
132 void tdb_logging_function(TDB_CONTEXT *tdb, tdb_log_func);
133 enum TDB_ERROR tdb_error(TDB_CONTEXT *tdb);
134 const char *tdb_errorstr(TDB_CONTEXT *tdb);
135 TDB_DATA tdb_fetch(TDB_CONTEXT *tdb, TDB_DATA key);
136 int tdb_delete(TDB_CONTEXT *tdb, TDB_DATA key);
137 int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag);
138 int tdb_append(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA new_dbuf);
139 int tdb_close(TDB_CONTEXT *tdb);
140 TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb);
141 TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key);
142 int tdb_traverse(TDB_CONTEXT *tdb, tdb_traverse_func fn, void *);
143 int tdb_exists(TDB_CONTEXT *tdb, TDB_DATA key);
144 int tdb_lockkeys(TDB_CONTEXT *tdb, u32 number, TDB_DATA keys[]);
145 void tdb_unlockkeys(TDB_CONTEXT *tdb);
146 int tdb_lockall(TDB_CONTEXT *tdb);
147 void tdb_unlockall(TDB_CONTEXT *tdb);
151 int tdb_chainlock(TDB_CONTEXT *tdb, TDB_DATA key);
152 int tdb_chainunlock(TDB_CONTEXT *tdb, TDB_DATA key);
155 void tdb_dump_all(TDB_CONTEXT *tdb);
156 int tdb_printfreelist(TDB_CONTEXT *tdb);