summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-07-03 08:42:23 -0400
committerSimo Sorce <idra@samba.org>2009-07-03 08:45:30 -0400
commit7119241c0d12768b31ebdb489aa0bbba6ca21e40 (patch)
tree4a1bd9a3d017f5798307d3485732ec13ca5daa52 /lib/tdb
parent30b2014a01b31d66dd76e0562c5d769dfacf167b (diff)
downloadsamba-7119241c0d12768b31ebdb489aa0bbba6ca21e40.tar.gz
samba-7119241c0d12768b31ebdb489aa0bbba6ca21e40.tar.bz2
samba-7119241c0d12768b31ebdb489aa0bbba6ca21e40.zip
Sort the signature files
Diffstat (limited to 'lib/tdb')
-rwxr-xr-xlib/tdb/abi_checks.sh2
-rw-r--r--lib/tdb/tdb.signatures86
2 files changed, 44 insertions, 44 deletions
diff --git a/lib/tdb/abi_checks.sh b/lib/tdb/abi_checks.sh
index 042b0f3374..f0e02f4825 100755
--- a/lib/tdb/abi_checks.sh
+++ b/lib/tdb/abi_checks.sh
@@ -7,7 +7,7 @@ mkdir -p abi/tools
ABI_CHECKS="-aux-info abi/\$@.X"
make ABI_CHECK="$ABI_CHECKS" CC="/usr/bin/gcc"
-for i in abi/*/*.X; do cat $i | grep 'tdb\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' > abi/signatures
+for i in abi/*/*.X; do cat $i | grep 'tdb\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' | sort > abi/signatures
grep '^extern' include/tdb.h | grep -v '"C"' | sort | uniq | awk -F "extern " '{ print $2 }' >> abi/signatures
cat > abi/exports << EOF
diff --git a/lib/tdb/tdb.signatures b/lib/tdb/tdb.signatures
index 12e0b24edb..140e35a62f 100644
--- a/lib/tdb/tdb.signatures
+++ b/lib/tdb/tdb.signatures
@@ -1,59 +1,59 @@
-int tdb_reopen (struct tdb_context *);
-int tdb_reopen_all (int);
-void tdb_set_logging_function (struct tdb_context *, const struct tdb_logging_context *);
-enum TDB_ERROR tdb_error (struct tdb_context *);
const char *tdb_errorstr (struct tdb_context *);
-TDB_DATA tdb_fetch (struct tdb_context *, TDB_DATA);
-int tdb_parse_record (struct tdb_context *, TDB_DATA, int (*) (TDB_DATA, TDB_DATA, void *), void *);
-int tdb_delete (struct tdb_context *, TDB_DATA);
-int tdb_store (struct tdb_context *, TDB_DATA, TDB_DATA, int);
+const char *tdb_name (struct tdb_context *);
+enum TDB_ERROR tdb_error (struct tdb_context *);
int tdb_append (struct tdb_context *, TDB_DATA, TDB_DATA);
+int tdb_chainlock_mark (struct tdb_context *, TDB_DATA);
+int tdb_chainlock_nonblock (struct tdb_context *, TDB_DATA);
+int tdb_chainlock_read (struct tdb_context *, TDB_DATA);
+int tdb_chainlock (struct tdb_context *, TDB_DATA);
+int tdb_chainlock_unmark (struct tdb_context *, TDB_DATA);
+int tdb_chainunlock_read (struct tdb_context *, TDB_DATA);
+int tdb_chainunlock (struct tdb_context *, TDB_DATA);
int tdb_close (struct tdb_context *);
-TDB_DATA tdb_firstkey (struct tdb_context *);
-TDB_DATA tdb_nextkey (struct tdb_context *, TDB_DATA);
-int tdb_traverse (struct tdb_context *, tdb_traverse_func, void *);
-int tdb_traverse_read (struct tdb_context *, tdb_traverse_func, void *);
+int tdb_delete (struct tdb_context *, TDB_DATA);
int tdb_exists (struct tdb_context *, TDB_DATA);
-int tdb_lockall (struct tdb_context *);
+int tdb_fd (struct tdb_context *);
+int tdb_freelist_size (struct tdb_context *);
+int tdb_get_flags (struct tdb_context *);
+int tdb_get_seqnum (struct tdb_context *);
+int tdb_hash_size (struct tdb_context *);
+int tdb_lockall_mark (struct tdb_context *);
int tdb_lockall_nonblock (struct tdb_context *);
-int tdb_unlockall (struct tdb_context *);
-int tdb_lockall_read (struct tdb_context *);
int tdb_lockall_read_nonblock (struct tdb_context *);
-int tdb_unlockall_read (struct tdb_context *);
-int tdb_lockall_mark (struct tdb_context *);
+int tdb_lockall_read (struct tdb_context *);
+int tdb_lockall (struct tdb_context *);
int tdb_lockall_unmark (struct tdb_context *);
-const char *tdb_name (struct tdb_context *);
-int tdb_fd (struct tdb_context *);
-tdb_log_func tdb_log_fn (struct tdb_context *);
-void *tdb_get_logging_private (struct tdb_context *);
-int tdb_transaction_start (struct tdb_context *);
-int tdb_transaction_prepare_commit (struct tdb_context *);
-int tdb_transaction_commit (struct tdb_context *);
+int tdb_parse_record (struct tdb_context *, TDB_DATA, int (*) (TDB_DATA, TDB_DATA, void *), void *);
+int tdb_printfreelist (struct tdb_context *);
+int tdb_reopen_all (int);
+int tdb_reopen (struct tdb_context *);
+int tdb_repack (struct tdb_context *);
+int tdb_store (struct tdb_context *, TDB_DATA, TDB_DATA, int);
int tdb_transaction_cancel (struct tdb_context *);
+int tdb_transaction_commit (struct tdb_context *);
+int tdb_transaction_prepare_commit (struct tdb_context *);
int tdb_transaction_recover (struct tdb_context *);
-int tdb_get_seqnum (struct tdb_context *);
-int tdb_hash_size (struct tdb_context *);
+int tdb_transaction_start (struct tdb_context *);
+int tdb_traverse_read (struct tdb_context *, tdb_traverse_func, void *);
+int tdb_traverse (struct tdb_context *, tdb_traverse_func, void *);
+int tdb_unlockall_read (struct tdb_context *);
+int tdb_unlockall (struct tdb_context *);
+int tdb_validate_freelist (struct tdb_context *, int *);
+int tdb_wipe_all (struct tdb_context *);
size_t tdb_map_size (struct tdb_context *);
-int tdb_get_flags (struct tdb_context *);
+struct tdb_context *tdb_open (const char *, int, int, int, mode_t);
+struct tdb_context *tdb_open_ex (const char *, int, int, int, mode_t, const struct tdb_logging_context *, tdb_hash_func);
+TDB_DATA tdb_fetch (struct tdb_context *, TDB_DATA);
+TDB_DATA tdb_firstkey (struct tdb_context *);
+TDB_DATA tdb_nextkey (struct tdb_context *, TDB_DATA);
+tdb_log_func tdb_log_fn (struct tdb_context *);
void tdb_add_flags (struct tdb_context *, unsigned int);
-void tdb_remove_flags (struct tdb_context *, unsigned int);
+void tdb_dump_all (struct tdb_context *);
void tdb_enable_seqnum (struct tdb_context *);
+void *tdb_get_logging_private (struct tdb_context *);
void tdb_increment_seqnum_nonblock (struct tdb_context *);
-int tdb_chainlock (struct tdb_context *, TDB_DATA);
-int tdb_chainlock_nonblock (struct tdb_context *, TDB_DATA);
-int tdb_chainunlock (struct tdb_context *, TDB_DATA);
-int tdb_chainlock_read (struct tdb_context *, TDB_DATA);
-int tdb_chainunlock_read (struct tdb_context *, TDB_DATA);
-int tdb_chainlock_mark (struct tdb_context *, TDB_DATA);
-int tdb_chainlock_unmark (struct tdb_context *, TDB_DATA);
+void tdb_remove_flags (struct tdb_context *, unsigned int);
void tdb_setalarm_sigptr (struct tdb_context *, volatile sig_atomic_t *);
-int tdb_wipe_all (struct tdb_context *);
-int tdb_repack (struct tdb_context *);
-void tdb_dump_all (struct tdb_context *);
-int tdb_printfreelist (struct tdb_context *);
-int tdb_validate_freelist (struct tdb_context *, int *);
-int tdb_freelist_size (struct tdb_context *);
-struct tdb_context *tdb_open (const char *, int, int, int, mode_t);
-struct tdb_context *tdb_open_ex (const char *, int, int, int, mode_t, const struct tdb_logging_context *, tdb_hash_func);
+void tdb_set_logging_function (struct tdb_context *, const struct tdb_logging_context *);
void tdb_set_max_dead (struct tdb_context *, int);
TDB_DATA tdb_null;