diff options
author | Simo Sorce <idra@samba.org> | 2009-06-15 16:19:19 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-06-15 16:31:12 -0400 |
commit | 7aee9f92e7c3e3eb48c0456d821125b60f8d8259 (patch) | |
tree | fa8be2b7149db8d8806d7f54d818b98ea5d34af7 /lib/tdb/tdb.signatures | |
parent | f518e37c0912a54d5434f7639ba44f53d3455582 (diff) | |
download | samba-7aee9f92e7c3e3eb48c0456d821125b60f8d8259.tar.gz samba-7aee9f92e7c3e3eb48c0456d821125b60f8d8259.tar.bz2 samba-7aee9f92e7c3e3eb48c0456d821125b60f8d8259.zip |
Add exports file and abi checker for tdb
This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on tdb.h contents and the gcc -aux-info option
Diffstat (limited to 'lib/tdb/tdb.signatures')
-rw-r--r-- | lib/tdb/tdb.signatures | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/tdb/tdb.signatures b/lib/tdb/tdb.signatures new file mode 100644 index 0000000000..12e0b24edb --- /dev/null +++ b/lib/tdb/tdb.signatures @@ -0,0 +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); +int tdb_append (struct tdb_context *, TDB_DATA, 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_exists (struct tdb_context *, TDB_DATA); +int tdb_lockall (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_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_transaction_cancel (struct tdb_context *); +int tdb_transaction_recover (struct tdb_context *); +int tdb_get_seqnum (struct tdb_context *); +int tdb_hash_size (struct tdb_context *); +size_t tdb_map_size (struct tdb_context *); +int tdb_get_flags (struct tdb_context *); +void tdb_add_flags (struct tdb_context *, unsigned int); +void tdb_remove_flags (struct tdb_context *, unsigned int); +void tdb_enable_seqnum (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_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_max_dead (struct tdb_context *, int); +TDB_DATA tdb_null; |