1Index: tdb/tdb.h
2===================================================================
3--- tdb.orig/tdb.h
4+++ tdb/tdb.h
5@@ -76,6 +76,60 @@ typedef struct TDB_DATA {
6 #endif
7 #endif
8
9+/* ext2fs tdb renames */
10+#define tdb_open ext2fs_tdb_open
11+#define tdb_open_ex ext2fs_tdb_open_ex
12+#define tdb_set_max_dead ext2fs_tdb_set_max_dead
13+#define tdb_reopen ext2fs_tdb_reopen
14+#define tdb_reopen_all ext2fs_tdb_reopen_all
15+#define tdb_set_logging_function ext2fs_tdb_set_logging_function
16+#define tdb_error ext2fs_tdb_error
17+#define tdb_errorstr ext2fs_tdb_errorstr
18+#define tdb_fetch ext2fs_tdb_fetch
19+#define tdb_parse_record ext2fs_tdb_parse_record
20+#define tdb_delete ext2fs_tdb_delete
21+#define tdb_store ext2fs_tdb_store
22+#define tdb_append ext2fs_tdb_append
23+#define tdb_close ext2fs_tdb_close
24+#define tdb_firstkey ext2fs_tdb_firstkey
25+#define tdb_nextkey ext2fs_tdb_nextkey
26+#define tdb_traverse ext2fs_tdb_traverse
27+#define tdb_traverse_read ext2fs_tdb_traverse_read
28+#define tdb_exists ext2fs_tdb_exists
29+#define tdb_lockall ext2fs_tdb_lockall
30+#define tdb_unlockall ext2fs_tdb_unlockall
31+#define tdb_lockall_read ext2fs_tdb_lockall_read
32+#define tdb_unlockall_read ext2fs_tdb_unlockall_read
33+#define tdb_name ext2fs_tdb_name
34+#define tdb_fd ext2fs_tdb_fd
35+#define tdb_log_fn ext2fs_tdb_log_fn
36+#define tdb_get_logging_private ext2fs_tdb_get_logging_private
37+#define tdb_transaction_start ext2fs_tdb_transaction_start
38+#define tdb_transaction_commit ext2fs_tdb_transaction_commit
39+#define tdb_transaction_cancel ext2fs_tdb_transaction_cancel
40+#define tdb_transaction_recover ext2fs_tdb_transaction_recover
41+#define tdb_get_seqnum ext2fs_tdb_get_seqnum
42+#define tdb_hash_size ext2fs_tdb_hash_size
43+#define tdb_map_size ext2fs_tdb_map_size
44+#define tdb_get_flags ext2fs_tdb_get_flags
45+#define tdb_chainlock ext2fs_tdb_chainlock
46+#define tdb_chainunlock ext2fs_tdb_chainunlock
47+#define tdb_chainlock_read ext2fs_tdb_chainlock_read
48+#define tdb_chainunlock_read ext2fs_tdb_chainunlock_read
49+#define tdb_dump_all ext2fs_tdb_dump_all
50+#define tdb_printfreelist ext2fs_tdb_printfreelist
51+#define tdb_validate_freelist ext2fs_tdb_validate_freelist
52+#define tdb_chainlock_mark ext2fs_tdb_chainlock_mark
53+#define tdb_chainlock_nonblock ext2fs_tdb_chainlock_nonblock
54+#define tdb_chainlock_unmark ext2fs_tdb_chainlock_unmark
55+#define tdb_enable_seqnum ext2fs_tdb_enable_seqnum
56+#define tdb_increment_seqnum_nonblock ext2fs_tdb_increment_seqnum_nonblock
57+#define tdb_lock_nonblock ext2fs_tdb_lock_nonblock
58+#define tdb_lockall_mark ext2fs_tdb_lockall_mark
59+#define tdb_lockall_nonblock ext2fs_tdb_lockall_nonblock
60+#define tdb_lockall_read_nonblock ext2fs_tdb_lockall_read_nonblock
61+#define tdb_lockall_unmark ext2fs_tdb_lockall_unmark
62+
63 /* this is the context structure that is returned from a db open */
64 typedef struct tdb_context TDB_CONTEXT;
65
66