12e0b24edbcbde894d6970a8a2cacb37e59396b9
[ira/wip.git] / lib / tdb / tdb.signatures
1 int tdb_reopen (struct tdb_context *);
2 int tdb_reopen_all (int);
3 void tdb_set_logging_function (struct tdb_context *, const struct tdb_logging_context *);
4 enum TDB_ERROR tdb_error (struct tdb_context *);
5 const char *tdb_errorstr (struct tdb_context *);
6 TDB_DATA tdb_fetch (struct tdb_context *, TDB_DATA);
7 int tdb_parse_record (struct tdb_context *, TDB_DATA, int (*) (TDB_DATA, TDB_DATA, void *), void *);
8 int tdb_delete (struct tdb_context *, TDB_DATA);
9 int tdb_store (struct tdb_context *, TDB_DATA, TDB_DATA, int);
10 int tdb_append (struct tdb_context *, TDB_DATA, TDB_DATA);
11 int tdb_close (struct tdb_context *);
12 TDB_DATA tdb_firstkey (struct tdb_context *);
13 TDB_DATA tdb_nextkey (struct tdb_context *, TDB_DATA);
14 int tdb_traverse (struct tdb_context *, tdb_traverse_func, void *);
15 int tdb_traverse_read (struct tdb_context *, tdb_traverse_func, void *);
16 int tdb_exists (struct tdb_context *, TDB_DATA);
17 int tdb_lockall (struct tdb_context *);
18 int tdb_lockall_nonblock (struct tdb_context *);
19 int tdb_unlockall (struct tdb_context *);
20 int tdb_lockall_read (struct tdb_context *);
21 int tdb_lockall_read_nonblock (struct tdb_context *);
22 int tdb_unlockall_read (struct tdb_context *);
23 int tdb_lockall_mark (struct tdb_context *);
24 int tdb_lockall_unmark (struct tdb_context *);
25 const char *tdb_name (struct tdb_context *);
26 int tdb_fd (struct tdb_context *);
27 tdb_log_func tdb_log_fn (struct tdb_context *);
28 void *tdb_get_logging_private (struct tdb_context *);
29 int tdb_transaction_start (struct tdb_context *);
30 int tdb_transaction_prepare_commit (struct tdb_context *);
31 int tdb_transaction_commit (struct tdb_context *);
32 int tdb_transaction_cancel (struct tdb_context *);
33 int tdb_transaction_recover (struct tdb_context *);
34 int tdb_get_seqnum (struct tdb_context *);
35 int tdb_hash_size (struct tdb_context *);
36 size_t tdb_map_size (struct tdb_context *);
37 int tdb_get_flags (struct tdb_context *);
38 void tdb_add_flags (struct tdb_context *, unsigned int);
39 void tdb_remove_flags (struct tdb_context *, unsigned int);
40 void tdb_enable_seqnum (struct tdb_context *);
41 void tdb_increment_seqnum_nonblock (struct tdb_context *);
42 int tdb_chainlock (struct tdb_context *, TDB_DATA);
43 int tdb_chainlock_nonblock (struct tdb_context *, TDB_DATA);
44 int tdb_chainunlock (struct tdb_context *, TDB_DATA);
45 int tdb_chainlock_read (struct tdb_context *, TDB_DATA);
46 int tdb_chainunlock_read (struct tdb_context *, TDB_DATA);
47 int tdb_chainlock_mark (struct tdb_context *, TDB_DATA);
48 int tdb_chainlock_unmark (struct tdb_context *, TDB_DATA);
49 void tdb_setalarm_sigptr (struct tdb_context *, volatile sig_atomic_t *);
50 int tdb_wipe_all (struct tdb_context *);
51 int tdb_repack (struct tdb_context *);
52 void tdb_dump_all (struct tdb_context *);
53 int tdb_printfreelist (struct tdb_context *);
54 int tdb_validate_freelist (struct tdb_context *, int *);
55 int tdb_freelist_size (struct tdb_context *);
56 struct tdb_context *tdb_open (const char *, int, int, int, mode_t);
57 struct tdb_context *tdb_open_ex (const char *, int, int, int, mode_t, const struct tdb_logging_context *, tdb_hash_func);
58 void tdb_set_max_dead (struct tdb_context *, int);
59 TDB_DATA tdb_null;