Sort the signature files
authorSimo Sorce <idra@samba.org>
Fri, 3 Jul 2009 12:42:23 +0000 (08:42 -0400)
committerSimo Sorce <idra@samba.org>
Fri, 3 Jul 2009 12:45:30 +0000 (08:45 -0400)
lib/tdb/abi_checks.sh
lib/tdb/tdb.signatures
lib/tevent/abi_checks.sh
lib/tevent/tevent.signatures

index 042b0f3374e3a79d0136eb68e2c6d358ef93eaee..f0e02f482555c4795bca9d4e7b128d8d8d470af3 100755 (executable)
@@ -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
index 12e0b24edbcbde894d6970a8a2cacb37e59396b9..140e35a62fa85287a18a9f51802b2af97f92d834 100644 (file)
@@ -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;
index 83082ad40184fae267a3ddfcede6886cd5978c06..95182097d59254e8b62b44f555e5647d3e5dd9b1 100755 (executable)
@@ -3,9 +3,9 @@ make clean
 
 mkdir abi
 ABI_CHECKS="-aux-info abi/\$@.X"
-make ABI_CHECK="$ABI_CHECKS"
+make ABI_CHECK="$ABI_CHECKS" CC="/usr/bin/gcc"
 
-for i in abi/*.X; do cat $i | grep 'tevent\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' > abi/signatures
+for i in abi/*.X; do cat $i | grep 'tevent\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' | sort> abi/signatures
 
 cat > abi/exports << EOF
 {
index 190522f8ecafef0b53c0bdcdd247c6e119482ac9..75f43affb2c3acfa33ef780fab01761afb552205 100644 (file)
@@ -1,55 +1,55 @@
-struct tevent_signal *_tevent_add_signal (struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *);
-int _tevent_loop_once (struct tevent_context *, const char *);
-int _tevent_loop_wait (struct tevent_context *, const char *);
-void tevent_fd_set_close_fn (struct tevent_fd *, tevent_fd_close_fn_t);
-void tevent_fd_set_auto_close (struct tevent_fd *);
-uint16_t tevent_fd_get_flags (struct tevent_fd *);
-void tevent_fd_set_flags (struct tevent_fd *, uint16_t);
+_Bool tevent_queue_add (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *);
+_Bool tevent_register_backend (const char *, const struct tevent_ops *);
+_Bool _tevent_req_error (struct tevent_req *, uint64_t, const char *);
+_Bool tevent_req_is_error (struct tevent_req *, enum tevent_req_state *, uint64_t *);
+_Bool tevent_req_is_in_progress (struct tevent_req *);
+_Bool _tevent_req_nomem (const void *, struct tevent_req *, const char *);
+_Bool tevent_req_poll (struct tevent_req *, struct tevent_context *);
+_Bool tevent_req_set_endtime (struct tevent_req *, struct tevent_context *, struct timeval);
 _Bool tevent_signal_support (struct tevent_context *);
-void tevent_set_abort_fn (void (*) (const char *));
-int tevent_set_debug (struct tevent_context *, void (*) (void *, enum tevent_debug_level, const char *, va_list), void *);
-int tevent_set_debug_stderr (struct tevent_context *);
-void tevent_req_set_callback (struct tevent_req *, tevent_req_fn, void *);
-void *_tevent_req_callback_data (struct tevent_req *);
-void *_tevent_req_data (struct tevent_req *);
-void tevent_req_set_print_fn (struct tevent_req *, tevent_req_print_fn);
+_Bool tevent_timeval_is_zero (const struct timeval *);
+_Bool tevent_wakeup_recv (struct tevent_req *);
 char *tevent_req_default_print (struct tevent_req *, TALLOC_CTX *);
 char *tevent_req_print (TALLOC_CTX *, struct tevent_req *);
+const char **tevent_backend_list (TALLOC_CTX *);
+int _tevent_loop_once (struct tevent_context *, const char *);
+int _tevent_loop_until (struct tevent_context *, _Bool (*) (void *), void *, const char *);
+int _tevent_loop_wait (struct tevent_context *, const char *);
+int tevent_set_debug_stderr (struct tevent_context *);
+int tevent_set_debug (struct tevent_context *, void (*) (void *, enum tevent_debug_level, const char *, va_list), void *);
+int tevent_timeval_compare (const struct timeval *, const struct timeval *);
+size_t tevent_queue_length (struct tevent_queue *);
+struct tevent_context *tevent_context_init_byname (TALLOC_CTX *, const char *);
+struct tevent_context *tevent_context_init (TALLOC_CTX *);
+struct tevent_fd *_tevent_add_fd (struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *);
+struct tevent_immediate *_tevent_create_immediate (TALLOC_CTX *, const char *);
+struct tevent_queue *_tevent_queue_create (TALLOC_CTX *, const char *, const char *);
 struct tevent_req *_tevent_req_create (TALLOC_CTX *, void *, size_t, const char *, const char *);
-_Bool tevent_req_set_endtime (struct tevent_req *, struct tevent_context *, struct timeval);
-void _tevent_req_notify_callback (struct tevent_req *, const char *);
-void _tevent_req_done (struct tevent_req *, const char *);
-_Bool _tevent_req_error (struct tevent_req *, uint64_t, const char *);
-_Bool _tevent_req_nomem (const void *, struct tevent_req *, const char *);
 struct tevent_req *tevent_req_post (struct tevent_req *, struct tevent_context *);
-_Bool tevent_req_is_in_progress (struct tevent_req *);
-_Bool tevent_req_poll (struct tevent_req *, struct tevent_context *);
-_Bool tevent_req_is_error (struct tevent_req *, enum tevent_req_state *, uint64_t *);
-void tevent_req_received (struct tevent_req *);
 struct tevent_req *tevent_wakeup_send (TALLOC_CTX *, struct tevent_context *, struct timeval);
-_Bool tevent_wakeup_recv (struct tevent_req *);
-int tevent_timeval_compare (const struct timeval *, const struct timeval *);
-struct timeval tevent_timeval_zero (void);
+struct tevent_signal *_tevent_add_signal (struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *);
+struct tevent_timer *_tevent_add_timer (struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *);
+struct timeval tevent_timeval_add (const struct timeval *, uint32_t, uint32_t);
+struct timeval tevent_timeval_current_ofs (uint32_t, uint32_t);
 struct timeval tevent_timeval_current (void);
 struct timeval tevent_timeval_set (uint32_t, uint32_t);
 struct timeval tevent_timeval_until (const struct timeval *, const struct timeval *);
-_Bool tevent_timeval_is_zero (const struct timeval *);
-struct timeval tevent_timeval_add (const struct timeval *, uint32_t, uint32_t);
-struct timeval tevent_timeval_current_ofs (uint32_t, uint32_t);
-struct tevent_queue *_tevent_queue_create (TALLOC_CTX *, const char *, const char *);
-_Bool tevent_queue_add (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *);
-void tevent_queue_start (struct tevent_queue *);
-void tevent_queue_stop (struct tevent_queue *);
-size_t tevent_queue_length (struct tevent_queue *);
+struct timeval tevent_timeval_zero (void);
+uint16_t tevent_fd_get_flags (struct tevent_fd *);
+void tevent_fd_set_auto_close (struct tevent_fd *);
+void tevent_fd_set_close_fn (struct tevent_fd *, tevent_fd_close_fn_t);
+void tevent_fd_set_flags (struct tevent_fd *, uint16_t);
 void tevent_loop_allow_nesting (struct tevent_context *);
 void tevent_loop_set_nesting_hook (struct tevent_context *, tevent_nesting_hook, void *);
-int _tevent_loop_until (struct tevent_context *, _Bool (*) (void *), void *, const char *);
-_Bool tevent_register_backend (const char *, const struct tevent_ops *);
-struct tevent_context *tevent_context_init (TALLOC_CTX *);
-struct tevent_context *tevent_context_init_byname (TALLOC_CTX *, const char *);
-const char **tevent_backend_list (TALLOC_CTX *);
-void tevent_set_default_backend (const char *);
-struct tevent_fd *_tevent_add_fd (struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *);
-struct tevent_timer *_tevent_add_timer (struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *);
-struct tevent_immediate *_tevent_create_immediate (TALLOC_CTX *, const char *);
+void tevent_queue_start (struct tevent_queue *);
+void tevent_queue_stop (struct tevent_queue *);
+void *_tevent_req_callback_data (struct tevent_req *);
+void *_tevent_req_data (struct tevent_req *);
+void _tevent_req_done (struct tevent_req *, const char *);
+void _tevent_req_notify_callback (struct tevent_req *, const char *);
+void tevent_req_received (struct tevent_req *);
+void tevent_req_set_callback (struct tevent_req *, tevent_req_fn, void *);
+void tevent_req_set_print_fn (struct tevent_req *, tevent_req_print_fn);
 void _tevent_schedule_immediate (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *);
+void tevent_set_abort_fn (void (*) (const char *));
+void tevent_set_default_backend (const char *);