Asterisk - The Open Source Telephony Project
21.4.1
|
A set of macros to manage forward-linked lists. More...
#include "asterisk/lock.h"
Go to the source code of this file.
Macros | |
#define | AST_LIST_APPEND_LIST(head, list, field) |
Appends a whole list to the tail of a list. More... | |
#define | AST_LIST_EMPTY(head) (AST_LIST_FIRST(head) == NULL) |
Checks whether the specified list contains any entries. More... | |
#define | AST_LIST_ENTRY(type) |
Declare a forward link structure inside a list entry. More... | |
#define | AST_LIST_FIRST(head) ((head)->first) |
Returns the first entry contained in a list. More... | |
#define | AST_LIST_HEAD(name, type) |
Defines a structure to be used to hold a list of specified type. More... | |
#define | AST_LIST_HEAD_DESTROY(head) |
Destroys a list head structure. More... | |
#define | AST_LIST_HEAD_INIT(head) |
Initializes a list head structure. More... | |
#define | AST_LIST_HEAD_INIT_NOLOCK(head) |
Initializes a list head structure. More... | |
#define | AST_LIST_HEAD_INIT_VALUE |
Defines initial values for a declaration of AST_LIST_HEAD. More... | |
#define | AST_LIST_HEAD_NOLOCK(name, type) |
Defines a structure to be used to hold a list of specified type (with no lock). More... | |
#define | AST_LIST_HEAD_NOLOCK_INIT_VALUE |
Defines initial values for a declaration of AST_LIST_HEAD_NOLOCK. More... | |
#define | AST_LIST_HEAD_NOLOCK_STATIC(name, type) |
Defines a structure to be used to hold a list of specified type, statically initialized. More... | |
#define | AST_LIST_HEAD_SET(head, entry) |
Initializes a list head structure with a specified first entry. More... | |
#define | AST_LIST_HEAD_SET_NOLOCK(head, entry) |
Initializes a list head structure with a specified first entry. More... | |
#define | AST_LIST_HEAD_STATIC(name, type) |
Defines a structure to be used to hold a list of specified type, statically initialized. More... | |
#define | AST_LIST_INSERT_AFTER(head, listelm, elm, field) |
Inserts a list entry after a given entry. More... | |
#define | AST_LIST_INSERT_BEFORE_CURRENT(elm, field) |
Inserts a list entry before the current entry during a traversal. More... | |
#define | AST_LIST_INSERT_HEAD(head, elm, field) |
Inserts a list entry at the head of a list. More... | |
#define | AST_LIST_INSERT_LIST_AFTER(head, list, elm, field) |
Inserts a whole list after a specific entry in a list. More... | |
#define | AST_LIST_INSERT_SORTALPHA(head, elm, field, sortfield) |
Inserts a list entry into a alphabetically sorted list. More... | |
#define | AST_LIST_INSERT_TAIL(head, elm, field) |
Appends a list entry to the tail of a list. More... | |
#define | AST_LIST_LAST(head) ((head)->last) |
Returns the last entry contained in a list. More... | |
#define | AST_LIST_LOCK(head) ast_mutex_lock(&(head)->lock) |
Locks a list. More... | |
#define | AST_LIST_MOVE_CURRENT(newhead, field) |
Move the current list entry to another list. More... | |
#define | AST_LIST_NEXT(elm, field) ((elm)->field.next) |
Returns the next entry in the list after the given entry. More... | |
#define | AST_LIST_REMOVE(head, elm, field) |
Removes a specific entry from a list. More... | |
#define | AST_LIST_REMOVE_CURRENT(field) |
Removes the current entry from a list during a traversal. More... | |
#define | AST_LIST_REMOVE_HEAD(head, field) |
Removes and returns the head entry from a list. More... | |
#define | AST_LIST_TRAVERSE(head, var, field) for((var) = (head)->first; (var); (var) = (var)->field.next) |
Loops over (traverses) the entries in a list. More... | |
#define | AST_LIST_TRAVERSE_SAFE_BEGIN(head, var, field) |
Loops safely over (traverses) the entries in a list. More... | |
#define | AST_LIST_TRAVERSE_SAFE_END } |
Closes a safe loop traversal block. | |
#define | AST_LIST_TRYLOCK(head) ast_mutex_trylock(&(head)->lock) |
Locks a list, without blocking if the list is locked. More... | |
#define | AST_LIST_UNLOCK(head) ast_mutex_unlock(&(head)->lock) |
Attempts to unlock a list. More... | |
#define | AST_RWLIST_APPEND_LIST AST_LIST_APPEND_LIST |
#define | AST_RWLIST_EMPTY AST_LIST_EMPTY |
#define | AST_RWLIST_ENTRY AST_LIST_ENTRY |
#define | AST_RWLIST_FIRST AST_LIST_FIRST |
#define | AST_RWLIST_HEAD(name, type) |
Defines a structure to be used to hold a read/write list of specified type. More... | |
#define | AST_RWLIST_HEAD_DESTROY(head) |
Destroys an rwlist head structure. More... | |
#define | AST_RWLIST_HEAD_INIT(head) |
Initializes an rwlist head structure. More... | |
#define | AST_RWLIST_HEAD_INIT_VALUE |
Defines initial values for a declaration of AST_RWLIST_HEAD. More... | |
#define | AST_RWLIST_HEAD_SET(head, entry) |
Initializes an rwlist head structure with a specified first entry. More... | |
#define | AST_RWLIST_HEAD_STATIC(name, type) |
Defines a structure to be used to hold a read/write list of specified type, statically initialized. More... | |
#define | AST_RWLIST_INSERT_AFTER AST_LIST_INSERT_AFTER |
#define | AST_RWLIST_INSERT_BEFORE_CURRENT AST_LIST_INSERT_BEFORE_CURRENT |
#define | AST_RWLIST_INSERT_HEAD AST_LIST_INSERT_HEAD |
#define | AST_RWLIST_INSERT_LIST_AFTER AST_LIST_INSERT_LIST_AFTER |
#define | AST_RWLIST_INSERT_SORTALPHA AST_LIST_INSERT_SORTALPHA |
#define | AST_RWLIST_INSERT_TAIL AST_LIST_INSERT_TAIL |
#define | AST_RWLIST_LAST AST_LIST_LAST |
#define | AST_RWLIST_MOVE_CURRENT AST_LIST_MOVE_CURRENT |
#define | AST_RWLIST_NEXT AST_LIST_NEXT |
#define | AST_RWLIST_RDLOCK(head) ast_rwlock_rdlock(&(head)->lock) |
Read locks a list. More... | |
#define | AST_RWLIST_REMOVE AST_LIST_REMOVE |
#define | AST_RWLIST_REMOVE_CURRENT AST_LIST_REMOVE_CURRENT |
#define | AST_RWLIST_REMOVE_HEAD AST_LIST_REMOVE_HEAD |
#define | AST_RWLIST_TIMEDRDLOCK(head, ts) ast_rwlock_timedrdlock(&(head)->lock, ts) |
Read locks a list, with timeout. More... | |
#define | AST_RWLIST_TIMEDWRLOCK(head, ts) ast_rwlock_timedwrlock(&(head)->lock, ts) |
Write locks a list, with timeout. More... | |
#define | AST_RWLIST_TRAVERSE AST_LIST_TRAVERSE |
#define | AST_RWLIST_TRAVERSE_SAFE_BEGIN AST_LIST_TRAVERSE_SAFE_BEGIN |
#define | AST_RWLIST_TRAVERSE_SAFE_END AST_LIST_TRAVERSE_SAFE_END |
#define | AST_RWLIST_TRYRDLOCK(head) ast_rwlock_tryrdlock(&(head)->lock) |
Read locks a list, without blocking if the list is locked. More... | |
#define | AST_RWLIST_TRYWRLOCK(head) ast_rwlock_trywrlock(&(head)->lock) |
Write locks a list, without blocking if the list is locked. More... | |
#define | AST_RWLIST_UNLOCK(head) ast_rwlock_unlock(&(head)->lock) |
Attempts to unlock a read/write based list. More... | |
#define | AST_RWLIST_WRLOCK(head) ast_rwlock_wrlock(&(head)->lock) |
Write locks a list. More... | |
A set of macros to manage forward-linked lists.
Definition in file linkedlists.h.
#define AST_LIST_APPEND_LIST | ( | head, | |
list, | |||
field | |||
) |
Appends a whole list to the tail of a list.
head | This is a pointer to the list head structure |
list | This is a pointer to the list to be appended. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Note: The source list (the list parameter) will be empty after calling this macro (the list entries are moved to the target list).
Definition at line 783 of file linkedlists.h.
Referenced by ast_autochan_new_channel(), channel_do_masquerade(), clone_variables(), and dns_srv_sort().
#define AST_LIST_EMPTY | ( | head | ) | (AST_LIST_FIRST(head) == NULL) |
Checks whether the specified list contains any entries.
head | This is a pointer to the list head structure |
Definition at line 450 of file linkedlists.h.
Referenced by __ast_read(), acf_faxopt_read(), ast_audiohook_write_list_empty(), ast_autoservice_start(), ast_category_get_templates(), ast_channel_snapshot_to_json(), ast_config_text_file_save2(), ast_dial_get_channel(), ast_dial_option_disable(), ast_dial_option_enable(), ast_dial_reason(), ast_dial_run(), ast_framehook_list_contains_no_active_of_type(), ast_framehook_list_fixup(), ast_framehook_list_is_empty(), ast_pbx_hangup_handler_run(), ast_srv_lookup(), audio_audiohook_write_list(), dial_exec_full(), do_devstate_changes(), forward_message(), generate_filenames_string(), handle_minivm_list_templates(), handle_minivm_show_users(), handle_minivm_show_zones(), handle_voicemail_show_users(), handle_voicemail_show_zones(), logger_thread(), manager_list_voicemail_users(), transport_state_callback(), and wait_for_empty_queue().
#define AST_LIST_ENTRY | ( | type | ) |
Declare a forward link structure inside a list entry.
type | This is the type of each list entry. |
This macro declares a structure to be used to link list entries together. It must be used inside the definition of the structure named in type, as follows:
The field name list here is arbitrary, and can be anything you wish.
Definition at line 410 of file linkedlists.h.
#define AST_LIST_FIRST | ( | head | ) | ((head)->first) |
Returns the first entry contained in a list.
head | This is a pointer to the list head structure |
Definition at line 421 of file linkedlists.h.
Referenced by __ast_read(), acf_faxopt_read(), ast_acl_list_is_empty(), ast_append_acl(), ast_cc_agent_set_interfaces_chanvar(), ast_dial_answered(), ast_dial_answered_steal(), ast_dial_join(), ast_dns_result_get_records(), ast_rtp_read(), ast_srv_lookup(), ast_xmldoc_build_documentation(), channel_do_masquerade(), conf_handle_second_active(), conf_mute_only_active(), dial_exec_full(), dns_srv_sort(), do_devstate_changes(), generate_filenames_string(), get_transfer_party_non_transferer_bridge(), logger_thread(), msg_queue_head(), native_rtp_bridge_join(), and queue_exec().
#define AST_LIST_HEAD | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a list of specified type.
name | This will be the name of the defined structure. |
type | This is the type of each list entry. |
This macro creates a structure definition that can be used to hold a list of the entries of type type. It does not actually declare (allocate) a structure; to do that, either follow this macro with the desired name of the instance you wish to declare, or use the specified name to declare instances elsewhere.
Example usage:
This would define struct
entry_list
, and declare an instance of it named entries, all intended to hold a list of type struct
entry
.
Definition at line 173 of file linkedlists.h.
Referenced by ast_iax2_new(), authenticate_reply(), and get_agi_cmd().
#define AST_LIST_HEAD_DESTROY | ( | head | ) |
Destroys a list head structure.
head | This is a pointer to the list head structure |
This macro destroys a list head structure by setting the head entry to NULL (empty list) and destroying the embedded lock. It does not free the structure from memory.
Definition at line 653 of file linkedlists.h.
Referenced by ast_free_acl_list(), and xmpp_client_destructor().
#define AST_LIST_HEAD_INIT | ( | head | ) |
Initializes a list head structure.
head | This is a pointer to the list head structure |
This macro initializes a list head structure by setting the head entry to NULL (empty list) and recreating the embedded lock.
Definition at line 626 of file linkedlists.h.
Referenced by ast_append_acl(), ast_dial_create(), ast_duplicate_acl_list(), ast_iax2_new(), ast_xmldoc_build_documentation(), authenticate_reply(), control_create(), spandsp_fax_new(), and xmpp_client_alloc().
#define AST_LIST_HEAD_INIT_NOLOCK | ( | head | ) |
Initializes a list head structure.
head | This is a pointer to the list head structure |
This macro initializes a list head structure by setting the head entry to NULL (empty list). There is no embedded lock handling with this macro.
Definition at line 681 of file linkedlists.h.
Referenced by __ast_answer(), __ast_channel_alloc_ap(), alloc_profile(), ast_audiohook_attach(), ast_calendar_event_alloc(), ast_cdr_dup(), ast_data_buffer_alloc(), ast_pbx_hangup_handler_init(), ast_rtp_read(), ast_sched_context_create(), ast_srv_lookup(), build_profile(), channel_do_masquerade(), do_devstate_changes(), generic_http_callback(), load_modules(), logger_thread(), mbl_load_device(), safe_sleep_conditional(), session_details_new(), and session_do().
#define AST_LIST_HEAD_INIT_VALUE |
Defines initial values for a declaration of AST_LIST_HEAD.
Definition at line 234 of file linkedlists.h.
#define AST_LIST_HEAD_NOLOCK | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a list of specified type (with no lock).
name | This will be the name of the defined structure. |
type | This is the type of each list entry. |
This macro creates a structure definition that can be used to hold a list of the entries of type type. It does not actually declare (allocate) a structure; to do that, either follow this macro with the desired name of the instance you wish to declare, or use the specified name to declare instances elsewhere.
Example usage:
This would define struct
entry_list
, and declare an instance of it named entries, all intended to hold a list of type struct
entry
.
Definition at line 225 of file linkedlists.h.
Referenced by __ast_answer(), channel_do_masquerade(), and safe_sleep_conditional().
#define AST_LIST_HEAD_NOLOCK_INIT_VALUE |
Defines initial values for a declaration of AST_LIST_HEAD_NOLOCK.
Definition at line 252 of file linkedlists.h.
Referenced by ast_get_srv(), ast_merge_contexts_and_delete(), dial_exec_full(), and dns_srv_sort().
#define AST_LIST_HEAD_NOLOCK_STATIC | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a list of specified type, statically initialized.
This is the same as AST_LIST_HEAD_STATIC, except without the lock included.
Definition at line 346 of file linkedlists.h.
Referenced by ast_event_new(), and forward_message().
#define AST_LIST_HEAD_SET | ( | head, | |
entry | |||
) |
Initializes a list head structure with a specified first entry.
head | This is a pointer to the list head structure |
entry | pointer to the list entry that will become the head of the list |
This macro initializes a list head structure by setting the head entry to the supplied value and recreating the embedded lock.
Definition at line 360 of file linkedlists.h.
#define AST_LIST_HEAD_SET_NOLOCK | ( | head, | |
entry | |||
) |
Initializes a list head structure with a specified first entry.
head | This is a pointer to the list head structure |
entry | pointer to the list entry that will become the head of the list |
This macro initializes a list head structure by setting the head entry to the supplied value.
Definition at line 388 of file linkedlists.h.
#define AST_LIST_HEAD_STATIC | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a list of specified type, statically initialized.
name | This will be the name of the defined structure. |
type | This is the type of each list entry. |
This macro creates a structure definition that can be used to hold a list of the entries of type type, and allocates an instance of it, initialized to be empty.
Example usage:
This would define struct
entry_list
, intended to hold a list of type struct
entry
.
Definition at line 291 of file linkedlists.h.
#define AST_LIST_INSERT_AFTER | ( | head, | |
listelm, | |||
elm, | |||
field | |||
) |
Inserts a list entry after a given entry.
head | This is a pointer to the list head structure |
listelm | This is a pointer to the entry after which the new entry should be inserted. |
elm | This is a pointer to the entry to be inserted. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Definition at line 695 of file linkedlists.h.
#define AST_LIST_INSERT_BEFORE_CURRENT | ( | elm, | |
field | |||
) |
Inserts a list entry before the current entry during a traversal.
elm | This is a pointer to the entry to be inserted. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Definition at line 599 of file linkedlists.h.
Referenced by ast_data_buffer_put(), defer_full_frame(), insert_penaltychange(), load_realtime_rules(), and vm_msg_snapshot_create().
#define AST_LIST_INSERT_HEAD | ( | head, | |
elm, | |||
field | |||
) |
Inserts a list entry at the head of a list.
head | This is a pointer to the list head structure |
elm | This is a pointer to the entry to be inserted. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Definition at line 711 of file linkedlists.h.
Referenced by __ast_answer(), ao2_weakproxy_subscribe(), ast_append_acl(), ast_autoservice_start(), ast_calendar_register(), ast_cel_fabricate_channel_from_event(), ast_channel_datastore_add(), ast_loader_register(), ast_merge_contexts_and_delete(), ast_odbc_release_obj(), ast_pbx_hangup_handler_push(), ast_sip_transport_state_register(), astman_datastore_add(), build_conf(), copy_variables(), dns_srv_sort(), do_say(), forward_message(), handle_frame(), parse_config(), pbx_builtin_pushvar_helper(), pbx_builtin_setvar_helper(), rtp_ioqueue_thread_get_or_create(), safe_sleep_conditional(), sla_ring_station(), vm_msg_snapshot_create(), and xmpp_pak_message().
#define AST_LIST_INSERT_LIST_AFTER | ( | head, | |
list, | |||
elm, | |||
field | |||
) |
Inserts a whole list after a specific entry in a list.
head | This is a pointer to the list head structure |
list | This is a pointer to the list to be inserted. |
elm | This is a pointer to the entry after which the new list should be inserted. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of the lists together. |
Note: The source list (the list parameter) will be empty after calling this macro (the list entries are moved to the target list).
Definition at line 812 of file linkedlists.h.
#define AST_LIST_INSERT_SORTALPHA | ( | head, | |
elm, | |||
field, | |||
sortfield | |||
) |
Inserts a list entry into a alphabetically sorted list.
head | Pointer to the list head structure |
elm | Pointer to the entry to be inserted |
field | Name of the list entry field (declared using AST_LIST_ENTRY()) |
sortfield | Name of the field on which the list is sorted |
Definition at line 751 of file linkedlists.h.
Referenced by config_text_file_load().
#define AST_LIST_INSERT_TAIL | ( | head, | |
elm, | |||
field | |||
) |
Appends a list entry to the tail of a list.
head | This is a pointer to the list head structure |
elm | This is a pointer to the entry to be appended. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Note: The link field in the appended entry is not modified, so if it is actually the head of a list itself, the entire list will be appended temporarily (until the next AST_LIST_INSERT_TAIL is performed).
Definition at line 731 of file linkedlists.h.
Referenced by add_ids(), ast_append_acl(), ast_audiohook_attach(), ast_autochan_setup(), ast_bridge_channel_queue_frame(), ast_bridge_set_after_callback(), ast_category_inherit(), ast_cc_call_init(), ast_cc_extension_monitor_add_dialstring(), ast_channel_datastore_inherit(), ast_channel_get_vars(), ast_channel_inherit_variables(), ast_cli_perms_init(), ast_data_buffer_cache_adjust(), ast_data_buffer_put(), ast_devstate_changed_literal(), ast_dns_resolver_add_record(), ast_duplicate_acl_list(), ast_event_new(), ast_framehook_attach(), ast_handle_cc_control_frame(), ast_iax2_new(), ast_log_full(), ast_merge_contexts_and_delete(), ast_odbc_find_table(), ast_register_indication(), ast_rtp_read(), ast_safe_fork(), ast_setlocale(), ast_slinfactory_feed(), ast_unreal_call_setup(), ast_xmldoc_build_documentation(), authenticate_reply(), build_profile(), cdr_object_create_public_records(), channel_do_masquerade(), clone_variables(), conf_add_post_join_action(), conf_add_user_active(), conf_add_user_marked(), conf_add_user_waiting(), copy_rules(), create_vmaccount(), defer_full_frame(), dial_exec_full(), dns_naptr_sort(), dns_srv_sort(), insert_penaltychange(), load_realtime_rules(), logger_thread(), msg_queue_push(), msg_queue_push_data(), pri_queue_for_destruction(), prometheus_metric_register(), prometheus_metric_unregister(), queue_signalling(), receivefax_exec(), reload_followme(), reload_queue_rules(), sendfax_exec(), set_config(), stasis_app_register_event_source(), timezone_add(), and vm_msg_snapshot_create().
#define AST_LIST_LAST | ( | head | ) | ((head)->last) |
Returns the last entry contained in a list.
head | This is a pointer to the list head structure |
Definition at line 429 of file linkedlists.h.
Referenced by __ast_read(), ast_bridge_channel_establish_roles(), ast_bridge_set_after_callback(), ast_channel_clear_softhangup(), ast_config_text_file_save2(), find_dial_channel(), and native_rtp_bridge_join().
#define AST_LIST_LOCK | ( | head | ) | ast_mutex_lock(&(head)->lock) |
Locks a list.
head | This is a pointer to the list head structure |
This macro attempts to place an exclusive lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 40 of file linkedlists.h.
Referenced by admin_exec(), ast_acl_list_is_empty(), ast_acl_output(), ast_append_acl(), ast_autoservice_ignore(), ast_autoservice_start(), ast_autoservice_stop(), ast_bridge_run_after_callback(), ast_bridge_set_after_callback(), ast_calendar_register(), ast_calendar_unregister(), ast_cc_agent_set_interfaces_chanvar(), ast_cc_call_init(), ast_cc_extension_monitor_add_dialstring(), ast_cc_get_monitor_by_recall_core_id(), ast_cc_is_recall(), ast_devstate_changed_literal(), ast_dial_destroy(), ast_dial_hangup(), ast_dial_join(), ast_dial_prerun(), ast_duplicate_acl_list(), ast_free_acl_list(), ast_handle_cc_control_frame(), ast_loader_register(), ast_loader_unregister(), ast_log_full(), ast_process_pending_reloads(), ast_safe_fork(), ast_set_cc_interfaces_chanvar(), ast_setlocale(), ast_unregister_atexit(), ast_update_use_count(), begin_dial(), build_conf(), channel_admin_exec(), clean_time_zones(), close_logger(), common_startup(), conf_exec(), conf_free(), config_text_file_load(), copy_rules(), create_vmaccount(), dispose_conf(), do_devstate_changes(), find_dial_channel(), find_relative_dial_channel(), find_user(), free_vm_users(), free_vm_zones(), get_agi_cmd(), handle_frame(), handle_minivm_list_templates(), handle_minivm_show_users(), handle_minivm_show_zones(), handle_show_calendars_types(), handle_voicemail_show_users(), handle_voicemail_show_zones(), iax2_canmatch(), iax2_exec(), iax2_exists(), iax2_matchmore(), iax2_process_thread(), load_module(), logger_thread(), manager_list_voicemail_users(), meetmestate(), monitor_dial(), pri_queue_for_destruction(), reload_queue_rules(), remove_from_queue(), reset_user_pw(), rtp_ioqueue_thread_get_or_create(), rtp_ioqueue_thread_remove(), set_config(), timezone_add(), timezone_destroy_list(), vmu_tm(), and xmpp_pak_message().
#define AST_LIST_MOVE_CURRENT | ( | newhead, | |
field | |||
) |
Move the current list entry to another list.
AST_LIST_REMOVE_CURRENT(field); AST_LIST_INSERT_TAIL(newhead, var, other_field);
Definition at line 582 of file linkedlists.h.
Referenced by dns_srv_sort().
#define AST_LIST_NEXT | ( | elm, | |
field | |||
) | ((elm)->field.next) |
Returns the next entry in the list after the given entry.
elm | This is a pointer to the current entry. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Definition at line 439 of file linkedlists.h.
Referenced by __ast_read(), ast_dns_record_get_next(), ast_frame_clear(), ast_frame_free(), ast_sdp_srtp_destroy(), ast_slinfactory_feed(), ast_speech_results_free(), ast_srv_lookup(), ast_translate(), ast_write_stream(), ast_writestream(), chan_pjsip_read_stream(), do_devstate_changes(), find_user(), lintocodec2_frameout(), lintogsm_frameout(), lintoilbc_frameout(), lintospeex_frameout(), logger_thread(), make_silence(), speech_read(), and update_qe_rule().
#define AST_LIST_REMOVE | ( | head, | |
elm, | |||
field | |||
) |
Removes a specific entry from a list.
head | This is a pointer to the list head structure |
elm | This is a pointer to the entry to be removed. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
elm | if elm was in the list. |
NULL | if elm was not in the list or elm was NULL. |
Definition at line 856 of file linkedlists.h.
Referenced by ast_audiohook_remove(), ast_autoservice_start(), ast_channel_clear_softhangup(), ast_channel_datastore_remove(), ast_sip_transport_state_unregister(), astman_datastore_remove(), conf_free(), conf_remove_user_active(), conf_remove_user_marked(), conf_remove_user_waiting(), handle_frame(), iax2_process_thread(), and rtp_ioqueue_thread_remove().
#define AST_LIST_REMOVE_CURRENT | ( | field | ) |
Removes the current entry from a list during a traversal.
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Definition at line 557 of file linkedlists.h.
Referenced by __ast_read(), ao2_weakproxy_unsubscribe(), ast_autochan_destroy(), ast_autoservice_stop(), ast_calendar_unregister(), ast_channel_clear_bridge_roles(), ast_channel_remove_bridge_role(), ast_channel_unregister(), ast_data_buffer_remove(), ast_dial_destroy(), ast_event_new(), ast_format_cap_remove(), ast_format_cap_remove_by_type(), ast_framehook_list_destroy(), ast_loader_unregister(), ast_odbc_clear_cache(), ast_register_indication(), ast_unregister_indication(), audio_audiohook_write_list(), bridge_sync_cleanup(), dial_exec_full(), dns_naptr_sort(), dns_srv_sort(), dtmf_audiohook_write_list(), forward_message(), load_resource_list(), pbx_builtin_setvar_helper(), prometheus_metric_unregister(), prune_tone_zone(), remove_from_queue(), set_config(), sla_calc_station_timeouts(), sla_calc_trunk_timeouts(), sla_check_failed_station(), and sla_choose_ringing_trunk().
#define AST_LIST_REMOVE_HEAD | ( | head, | |
field | |||
) |
Removes and returns the head entry from a list.
head | This is a pointer to the list head structure |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
Removes the head entry from the list, and returns a pointer to it. This macro is safe to call on an empty list.
Definition at line 833 of file linkedlists.h.
Referenced by __ast_answer(), ast_audiohook_detach_list(), ast_autoservice_stop(), ast_bridge_run_after_callback(), ast_cdr_reset(), ast_channel_destructor(), ast_data_buffer_cache_adjust(), ast_data_buffer_free(), ast_data_buffer_put(), ast_data_buffer_remove_head(), ast_data_buffer_resize(), ast_dns_result_free(), ast_dummy_channel_destructor(), ast_framehook_list_fixup(), ast_free_acl_list(), ast_get_srv(), ast_merge_contexts_and_delete(), ast_pbx_hangup_handler_destroy(), ast_pbx_hangup_handler_pop(), ast_pbx_hangup_handler_run(), ast_process_pending_reloads(), ast_sched_context_destroy(), ast_slinfactory_destroy(), ast_slinfactory_flush(), ast_slinfactory_read(), ast_srv_lookup(), ast_tone_zone_destructor(), cdr_object_dtor(), channel_do_masquerade(), clean_time_zones(), clear_stimulus_queue(), close_logger(), conf_free(), conf_menu_entry_destroy(), destroy_session_details(), destroy_user_perms(), format_cap_destroy(), forward_message(), free_variables(), free_vm_users(), free_vm_zones(), get_agi_cmd(), handle_deferred_full_frames(), init_queue(), join_conference_bridge(), leave_conference(), leave_queue(), load_modules(), msg_queue_pop(), prometheus_metric_free(), prometheus_metric_unregister(), reload_queue_rules(), safe_sleep_conditional(), send_signaling(), spandsp_fax_read(), table_configs_free(), timezone_destroy_list(), and xmpp_client_destructor().
#define AST_LIST_TRAVERSE | ( | head, | |
var, | |||
field | |||
) | for((var) = (head)->first; (var); (var) = (var)->field.next) |
Loops over (traverses) the entries in a list.
head | This is a pointer to the list head structure |
var | This is the name of the variable that will hold a pointer to the current list entry on each iteration. It must be declared before calling this macro. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
This macro is use to loop over (traverse) the entries in a list. It uses a for loop, and supplies the enclosed code with a pointer to each list entry as it loops. It is typically used as follows:
Definition at line 491 of file linkedlists.h.
Referenced by admin_exec(), append_vmbox_info_astman(), ast_acl_output(), ast_append_acl(), ast_audiohook_set_mute_all(), ast_autochan_new_channel(), ast_autoservice_ignore(), ast_autoservice_start(), ast_bridge_channel_establish_roles(), ast_bridge_channel_peer(), ast_bridge_peer_nolock(), ast_bridge_peers_nolock(), ast_bridge_queue_everyone_else(), ast_bridge_snapshot_create(), ast_calendar_register(), ast_category_get_templates(), ast_cc_extension_monitor_add_dialstring(), ast_cc_get_monitor_by_recall_core_id(), ast_cc_is_recall(), ast_cdr_serialize_variables(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), ast_channel_datastore_find(), ast_channel_datastore_inherit(), ast_channel_get_vars(), ast_channel_inherit_variables(), ast_cli_perms_init(), ast_config_text_file_save2(), ast_data_buffer_get(), ast_debug_get_by_module(), ast_dial_hangup(), ast_dial_join(), ast_dial_prerun(), ast_dns_resolver_register(), ast_duplicate_acl_list(), ast_event_new(), ast_format_cap_get_compatible_format(), ast_format_cap_get_format_framing(), ast_format_cap_iscompatible_format(), ast_framehook_list_contains_no_active_of_type(), ast_get_indication_tone(), ast_handle_cc_control_frame(), ast_json_channel_vars(), ast_manager_build_channel_state_string_prefix(), ast_set_cc_interfaces_chanvar(), ast_sip_transport_state_register(), ast_slinfactory_feed(), ast_srv_get_nth_record(), ast_srv_lookup(), ast_str_retrieve_variable(), ast_trace_get_by_module(), ast_unreal_call_setup(), ast_update_use_count(), ast_verb_update(), ast_xmldoc_build_documentation(), ast_xmldoc_query(), begin_dial(), build_conf(), cdr_object_create_public_records(), cdr_object_format_var_internal(), channel_admin_exec(), check_binaural_position_change(), clone_variables(), common_startup(), conf_exec(), conf_find_menu_entry_by_sequence(), conf_send_event_to_participants(), confbridge_handle_atxfer(), config_text_file_load(), copy_rules(), copy_variables(), dial_exec_full(), dns_naptr_sort(), dns_srv_sort(), find_audiohook_by_source(), find_dial_channel(), find_module_level(), find_relative_dial_channel(), find_user(), generate_filenames_string(), handle_cli_show_permissions(), handle_minivm_list_templates(), handle_minivm_show_users(), handle_minivm_show_zones(), handle_show_calendars_types(), handle_show_chanvar(), handle_show_globals(), handle_showchan(), handle_timeout_trip(), handle_voicemail_show_users(), handle_voicemail_show_zones(), has_device_monitors(), insert_penaltychange(), load_module(), load_modules(), load_realtime_rules(), manager_list_voicemail_users(), map_source_to_destinations(), meetmestate(), monitor_dial(), pbx_builtin_getvar_helper(), pbx_builtin_serialize_variables(), pri_queue_for_destruction(), prometheus_metric_register(), prometheus_metric_to_string(), reload_followme(), remove_hooks_on_personality_change(), reset_user_pw(), rtp_add_candidates_to_ice(), rtp_ioqueue_thread_get_or_create(), sendfax_exec(), set_config(), sfu_topologies_on_join(), sla_calc_station_timeouts(), sla_check_inuse_station(), sla_check_ringing_station(), sla_check_timed_out_station(), sla_choose_idle_trunk(), sla_choose_ringing_trunk(), sla_find_trunk_ref_byname(), sla_queue_event_conf(), sla_ring_stations(), softmix_bridge_stream_topology_changed(), softmix_mixing_loop(), table_config_for_table_name(), tone_zone_mark(), transport_state_callback(), and vmu_tm().
#define AST_LIST_TRAVERSE_SAFE_BEGIN | ( | head, | |
var, | |||
field | |||
) |
Loops safely over (traverses) the entries in a list.
head | This is a pointer to the list head structure |
var | This is the name of the variable that will hold a pointer to the current list entry on each iteration. It must be declared before calling this macro. |
field | This is the name of the field (declared using AST_LIST_ENTRY()) used to link entries of this list together. |
This macro is used to safely loop over (traverse) the entries in a list. It uses a for loop, and supplies the enclosed code with a pointer to each list entry as it loops. It is typically used as follows:
It differs from AST_LIST_TRAVERSE() in that the code inside the loop can modify (or even free, after calling AST_LIST_REMOVE_CURRENT()) the entry pointed to by the current pointer without affecting the loop traversal.
Definition at line 529 of file linkedlists.h.
Referenced by __ast_read(), ao2_weakproxy_unsubscribe(), ast_audiohook_move_all(), ast_autochan_destroy(), ast_autoservice_stop(), ast_calendar_unregister(), ast_channel_clear_bridge_roles(), ast_channel_remove_bridge_role(), ast_data_buffer_put(), ast_data_buffer_remove(), ast_data_buffer_resize(), ast_dial_destroy(), ast_event_new(), ast_format_cap_remove(), ast_format_cap_remove_by_type(), ast_framehook_detach(), ast_framehook_list_destroy(), ast_framehook_list_fixup(), ast_loader_unregister(), ast_register_indication(), ast_unregister_indication(), astman_datastore_find(), audio_audiohook_write_list(), bridge_sync_cleanup(), channel_do_masquerade(), defer_full_frame(), dial_exec_full(), dns_naptr_sort(), dns_srv_sort(), dtmf_audiohook_write_list(), forward_message(), insert_penaltychange(), load_realtime_rules(), load_resource_list(), pbx_builtin_setvar_helper(), prometheus_metric_unregister(), prune_tone_zone(), remove_from_queue(), set_config(), sla_calc_station_timeouts(), sla_calc_trunk_timeouts(), sla_check_failed_station(), sla_choose_ringing_trunk(), and vm_msg_snapshot_create().
#define AST_LIST_TRYLOCK | ( | head | ) | ast_mutex_trylock(&(head)->lock) |
Locks a list, without blocking if the list is locked.
head | This is a pointer to the list head structure |
This macro attempts to place an exclusive lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 105 of file linkedlists.h.
#define AST_LIST_UNLOCK | ( | head | ) | ast_mutex_unlock(&(head)->lock) |
Attempts to unlock a list.
head | This is a pointer to the list head structure |
This macro attempts to remove an exclusive lock from the list head structure pointed to by head. If the list was not locked by this thread, this macro has no effect.
Definition at line 140 of file linkedlists.h.
Referenced by admin_exec(), ast_acl_list_is_empty(), ast_acl_output(), ast_append_acl(), ast_autoservice_ignore(), ast_autoservice_start(), ast_autoservice_stop(), ast_bridge_run_after_callback(), ast_bridge_set_after_callback(), ast_calendar_register(), ast_calendar_unregister(), ast_cc_agent_set_interfaces_chanvar(), ast_cc_call_init(), ast_cc_extension_monitor_add_dialstring(), ast_cc_get_monitor_by_recall_core_id(), ast_cc_is_recall(), ast_devstate_changed_literal(), ast_dial_destroy(), ast_dial_hangup(), ast_dial_join(), ast_dial_prerun(), ast_duplicate_acl_list(), ast_free_acl_list(), ast_handle_cc_control_frame(), ast_loader_register(), ast_loader_unregister(), ast_log_full(), ast_process_pending_reloads(), ast_safe_fork(), ast_set_cc_interfaces_chanvar(), ast_setlocale(), ast_unregister_atexit(), ast_update_use_count(), begin_dial(), build_conf(), channel_admin_exec(), clean_time_zones(), close_logger(), common_startup(), conf_exec(), conf_free(), config_text_file_load(), copy_rules(), create_vmaccount(), dispose_conf(), do_devstate_changes(), find_dial_channel(), find_relative_dial_channel(), find_user(), free_vm_users(), free_vm_zones(), get_agi_cmd(), handle_call_forward(), handle_frame(), handle_minivm_list_templates(), handle_minivm_show_users(), handle_minivm_show_zones(), handle_show_calendars_types(), handle_voicemail_show_users(), handle_voicemail_show_zones(), iax2_canmatch(), iax2_exec(), iax2_exists(), iax2_matchmore(), iax2_process_thread(), load_module(), logger_thread(), manager_list_voicemail_users(), meetmestate(), monitor_dial(), pri_queue_for_destruction(), reload_queue_rules(), remove_from_queue(), reset_user_pw(), rtp_ioqueue_thread_get_or_create(), rtp_ioqueue_thread_remove(), set_config(), timezone_add(), timezone_destroy_list(), vmu_tm(), and xmpp_pak_message().
#define AST_RWLIST_HEAD | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a read/write list of specified type.
name | This will be the name of the defined structure. |
type | This is the type of each list entry. |
This macro creates a structure definition that can be used to hold a list of the entries of type type. It does not actually declare (allocate) a structure; to do that, either follow this macro with the desired name of the instance you wish to declare, or use the specified name to declare instances elsewhere.
Example usage:
This would define struct
entry_list
, and declare an instance of it named entries, all intended to hold a list of type struct
entry
.
Definition at line 199 of file linkedlists.h.
#define AST_RWLIST_HEAD_DESTROY | ( | head | ) |
Destroys an rwlist head structure.
head | This is a pointer to the list head structure |
This macro destroys a list head structure by setting the head entry to NULL (empty list) and destroying the embedded lock. It does not free the structure from memory.
Definition at line 667 of file linkedlists.h.
#define AST_RWLIST_HEAD_INIT | ( | head | ) |
Initializes an rwlist head structure.
head | This is a pointer to the list head structure |
This macro initializes a list head structure by setting the head entry to NULL (empty list) and recreating the embedded lock.
Definition at line 639 of file linkedlists.h.
Referenced by ast_channels_init(), and ast_odbc_find_table().
#define AST_RWLIST_HEAD_INIT_VALUE |
Defines initial values for a declaration of AST_RWLIST_HEAD.
Definition at line 243 of file linkedlists.h.
#define AST_RWLIST_HEAD_SET | ( | head, | |
entry | |||
) |
Initializes an rwlist head structure with a specified first entry.
head | This is a pointer to the list head structure |
entry | pointer to the list entry that will become the head of the list |
This macro initializes a list head structure by setting the head entry to the supplied value and recreating the embedded lock.
Definition at line 374 of file linkedlists.h.
#define AST_RWLIST_HEAD_STATIC | ( | name, | |
type | |||
) |
Defines a structure to be used to hold a read/write list of specified type, statically initialized.
name | This will be the name of the defined structure. |
type | This is the type of each list entry. |
This macro creates a structure definition that can be used to hold a list of the entries of type type, and allocates an instance of it, initialized to be empty.
Example usage:
This would define struct
entry_list
, intended to hold a list of type struct
entry
.
Definition at line 333 of file linkedlists.h.
#define AST_RWLIST_RDLOCK | ( | head | ) | ast_rwlock_rdlock(&(head)->lock) |
Read locks a list.
head | This is a pointer to the list head structure |
This macro attempts to place a read lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 78 of file linkedlists.h.
Referenced by acf_odbc_write(), ast_app_group_get_count(), ast_app_group_list_rdlock(), ast_app_group_match_get_count(), ast_channeltype_list(), ast_cli_command_full(), ast_complete_applications(), ast_debug_get_by_module(), ast_format_str_reduce(), ast_get_channel_tech(), ast_key_get(), ast_logger_get_channels(), ast_logger_get_dynamic_level(), ast_odbc_find_table(), ast_read_image(), ast_readfile(), ast_rtp_instance_get_glue(), ast_rtp_instance_new(), ast_speech_find_engine(), ast_trace_get_by_module(), ast_translate_available_formats(), ast_translate_path_steps(), ast_translator_best_choice(), ast_translator_build_path(), ast_verb_console_get(), ast_verb_update(), ast_writefile(), ast_xmldoc_build_arguments(), ast_xmldoc_build_documentation(), ast_xmldoc_build_final_response(), ast_xmldoc_build_list_responses(), ast_xmldoc_build_seealso(), ast_xmldoc_build_syntax(), ast_xmldoc_query(), cli_fax_show_capabilities(), cli_fax_show_settings(), cli_fax_show_stats(), dns_query_alloc(), fax_session_new(), fax_session_reserve(), find_best_technology(), function_amiclient(), getproviderstate(), handle_cli_core_show_channeltype(), handle_cli_core_show_channeltypes(), handle_cli_keys_show(), handle_cli_show_permissions(), handle_logger_show_channels(), handle_logger_show_levels(), handle_show_application(), handle_show_switches(), handle_showmancmds(), handle_showmaneventq(), help1(), logger_print_normal(), manager_displayconnects(), mbl_load_device(), pbx_findapp(), pbx_findswitch(), rtp_add_candidates_to_ice(), sco_accept(), set_priority_all(), and transport_state_callback().
#define AST_RWLIST_TIMEDRDLOCK | ( | head, | |
ts | |||
) | ast_rwlock_timedrdlock(&(head)->lock, ts) |
Read locks a list, with timeout.
head | This is a pointer to the list head structure |
ts | Pointer to a timespec structure |
This macro attempts to place a read lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 93 of file linkedlists.h.
#define AST_RWLIST_TIMEDWRLOCK | ( | head, | |
ts | |||
) | ast_rwlock_timedwrlock(&(head)->lock, ts) |
Write locks a list, with timeout.
head | This is a pointer to the list head structure |
ts | Pointer to a timespec structure |
This macro attempts to place an exclusive write lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 67 of file linkedlists.h.
#define AST_RWLIST_TRYRDLOCK | ( | head | ) | ast_rwlock_tryrdlock(&(head)->lock) |
Read locks a list, without blocking if the list is locked.
head | This is a pointer to the list head structure |
This macro attempts to place a read lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 129 of file linkedlists.h.
#define AST_RWLIST_TRYWRLOCK | ( | head | ) | ast_rwlock_trywrlock(&(head)->lock) |
Write locks a list, without blocking if the list is locked.
head | This is a pointer to the list head structure |
This macro attempts to place an exclusive write lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 117 of file linkedlists.h.
#define AST_RWLIST_UNLOCK | ( | head | ) | ast_rwlock_unlock(&(head)->lock) |
Attempts to unlock a read/write based list.
head | This is a pointer to the list head structure |
This macro attempts to remove a read or write lock from the list head structure pointed to by head. If the list was not locked by this thread, this macro has no effect.
Definition at line 151 of file linkedlists.h.
Referenced by __ast_bridge_technology_register(), __ast_custom_function_register(), __ast_format_def_register(), __ast_register_translator(), acf_odbc_write(), add_redirect(), append_event(), ast_app_group_discard(), ast_app_group_get_count(), ast_app_group_list_unlock(), ast_app_group_match_get_count(), ast_app_group_set_channel(), ast_app_group_update(), ast_bridge_technology_unregister(), ast_cc_agent_register(), ast_cc_agent_unregister(), ast_cc_monitor_register(), ast_cc_monitor_unregister(), ast_cdr_backend_suspend(), ast_cdr_backend_unsuspend(), ast_channel_register(), ast_channel_unregister(), ast_channeltype_list(), ast_cli_command_full(), ast_cli_perms_init(), ast_cli_unregister(), ast_complete_applications(), ast_custom_function_unregister(), ast_debug_get_by_module(), ast_devstate_prov_add(), ast_devstate_prov_del(), ast_dns_resolver_register(), ast_dns_resolver_unregister(), ast_dnsmgr_get_family(), ast_dnsmgr_release(), ast_fax_tech_register(), ast_fax_tech_unregister(), ast_format_def_unregister(), ast_format_str_reduce(), ast_get_channel_tech(), ast_http_uri_link(), ast_http_uri_unlink(), ast_http_uri_unlink_all_with_key(), ast_image_register(), ast_image_unregister(), ast_key_get(), ast_logger_create_channel(), ast_logger_get_channels(), ast_logger_get_dynamic_level(), ast_logger_register_level(), ast_logger_remove_channel(), ast_logger_rotate_channel(), ast_logger_unregister_level(), ast_manager_register_hook(), ast_manager_unregister(), ast_manager_unregister_hook(), ast_odbc_clear_cache(), ast_odbc_find_table(), ast_presence_state_prov_add(), ast_presence_state_prov_del(), ast_read_image(), ast_readfile(), ast_register_application2(), ast_register_switch(), ast_rtp_engine_register2(), ast_rtp_engine_unregister(), ast_rtp_glue_register2(), ast_rtp_glue_unregister(), ast_rtp_instance_get_glue(), ast_rtp_instance_new(), ast_sip_transport_state_register(), ast_sip_transport_state_unregister(), ast_speech_find_engine(), ast_speech_register(), ast_speech_unregister2(), ast_speech_unregister_engines(), ast_trace_get_by_module(), ast_translate_available_formats(), ast_translate_path_steps(), ast_translator_activate(), ast_translator_best_choice(), ast_translator_build_path(), ast_translator_deactivate(), ast_unregister_application(), ast_unregister_switch(), ast_unregister_translator(), ast_verb_console_get(), ast_verb_console_register(), ast_verb_console_set(), ast_verb_update(), ast_writefile(), ast_xmldoc_build_arguments(), ast_xmldoc_build_documentation(), ast_xmldoc_build_final_response(), ast_xmldoc_build_list_responses(), ast_xmldoc_build_seealso(), ast_xmldoc_build_syntax(), ast_xmldoc_query(), bridge_sync_cleanup(), bridge_sync_init(), cli_fax_show_capabilities(), cli_fax_show_settings(), cli_fax_show_stats(), close_logger(), crypto_load(), destroy_user_perms(), dns_query_alloc(), fax_session_new(), fax_session_reserve(), find_best_technology(), function_amiclient(), getproviderstate(), grab_last(), handle_cli_core_show_channeltype(), handle_cli_core_show_channeltypes(), handle_cli_keys_init(), handle_cli_keys_show(), handle_cli_show_permissions(), handle_logger_show_channels(), handle_logger_show_levels(), handle_show_application(), handle_show_switches(), handle_showmancmds(), handle_showmaneventq(), help1(), host_candidate_overrides_clear(), init_logger(), logger_print_normal(), logger_queue_start(), manager_displayconnects(), mbl_load_adapter(), mbl_load_device(), pbx_findapp(), pbx_findswitch(), process_message(), purge_events(), reload_followme(), rtp_add_candidates_to_ice(), rtp_reload(), sco_accept(), set_priority_all(), stasis_app_register_event_source(), stasis_app_unregister_event_source(), transport_state_callback(), and xmldoc_unload_documentation().
#define AST_RWLIST_WRLOCK | ( | head | ) | ast_rwlock_wrlock(&(head)->lock) |
Write locks a list.
head | This is a pointer to the list head structure |
This macro attempts to place an exclusive write lock in the list head structure pointed to by head.
0 | on success |
non-zero | on failure |
Definition at line 52 of file linkedlists.h.
Referenced by __ast_bridge_technology_register(), __ast_custom_function_register(), __ast_format_def_register(), __ast_register_translator(), add_redirect(), append_event(), ast_app_group_discard(), ast_app_group_list_wrlock(), ast_app_group_set_channel(), ast_app_group_update(), ast_bridge_technology_unregister(), ast_cc_agent_register(), ast_cc_agent_unregister(), ast_cc_monitor_register(), ast_cc_monitor_unregister(), ast_cdr_backend_suspend(), ast_cdr_backend_unsuspend(), ast_channel_register(), ast_channel_unregister(), ast_cli_perms_init(), ast_cli_unregister(), ast_custom_function_unregister(), ast_devstate_prov_add(), ast_devstate_prov_del(), ast_dns_resolver_register(), ast_dns_resolver_unregister(), ast_dnsmgr_get_family(), ast_dnsmgr_release(), ast_fax_tech_register(), ast_fax_tech_unregister(), ast_format_def_unregister(), ast_http_uri_link(), ast_http_uri_unlink(), ast_http_uri_unlink_all_with_key(), ast_image_register(), ast_image_unregister(), ast_logger_create_channel(), ast_logger_register_level(), ast_logger_remove_channel(), ast_logger_rotate_channel(), ast_logger_unregister_level(), ast_manager_register_hook(), ast_manager_unregister(), ast_manager_unregister_hook(), ast_odbc_clear_cache(), ast_presence_state_prov_add(), ast_presence_state_prov_del(), ast_register_application2(), ast_register_switch(), ast_rtp_engine_register2(), ast_rtp_engine_unregister(), ast_rtp_glue_register2(), ast_rtp_glue_unregister(), ast_sip_transport_state_register(), ast_sip_transport_state_unregister(), ast_speech_register(), ast_speech_unregister2(), ast_speech_unregister_engines(), ast_translator_activate(), ast_translator_deactivate(), ast_unregister_application(), ast_unregister_switch(), ast_unregister_translator(), ast_verb_console_register(), ast_verb_console_set(), bridge_sync_cleanup(), bridge_sync_init(), close_logger(), crypto_load(), destroy_user_perms(), grab_last(), handle_cli_keys_init(), host_candidate_overrides_clear(), init_logger(), logger_queue_start(), mbl_load_adapter(), mbl_load_device(), process_message(), purge_events(), reload_followme(), rtp_reload(), stasis_app_register_event_source(), stasis_app_unregister_event_source(), and xmldoc_unload_documentation().