YAZ
5.34.0
|
Implements ZOOM Event stuff. More...
Go to the source code of this file.
Data Structures | |
struct | ZOOM_Event_p |
Functions | |
ZOOM_API (const char *) | |
ZOOM_Event | ZOOM_Event_create (int kind) |
ZOOM_Event | ZOOM_connection_get_event (ZOOM_connection c) |
void | ZOOM_connection_put_event (ZOOM_connection c, ZOOM_Event event) |
void | ZOOM_Event_destroy (ZOOM_Event event) |
void | ZOOM_connection_remove_events (ZOOM_connection c) |
ZOOM_API (int) | |
Implements ZOOM Event stuff.
Definition in file zoom-event.c.
ZOOM_API | ( | const char * | ) |
Definition at line 18 of file zoom-event.c.
ZOOM_API | ( | int | ) |
Definition at line 102 of file zoom-event.c.
References ZOOM_Event_p::kind, ZOOM_connection_p::m_queue_front, and ZOOM_EVENT_NONE.
ZOOM_Event ZOOM_connection_get_event | ( | ZOOM_connection | c | ) |
Definition at line 52 of file zoom-event.c.
References ZOOM_connection_p::last_event, ZOOM_connection_p::m_queue_back, ZOOM_connection_p::m_queue_front, ZOOM_Event_p::next, ZOOM_Event_p::prev, and ZOOM_EVENT_NONE.
Referenced by ZOOM_connection_process(), and ZOOM_connection_remove_events().
void ZOOM_connection_put_event | ( | ZOOM_connection | c, |
ZOOM_Event | event | ||
) |
Definition at line 73 of file zoom-event.c.
References ZOOM_connection_p::m_queue_back, ZOOM_connection_p::m_queue_front, ZOOM_Event_p::next, and ZOOM_Event_p::prev.
Referenced by do_connect_host(), do_read(), do_write_ex(), handle_srw_response(), handle_Z3950_search_response(), record_cache_add(), send_APDU(), send_package(), ZOOM_connection_do_io(), ZOOM_connection_remove_task(), ZOOM_memcached_search(), ZOOM_record_cache_lookup(), ZOOM_send_GDU(), and ZOOM_test_reconnect().
void ZOOM_connection_remove_events | ( | ZOOM_connection | c | ) |
Definition at line 95 of file zoom-event.c.
References ZOOM_connection_get_event(), and ZOOM_Event_destroy().
Referenced by clear_error(), and ZOOM_connection_destroy().
ZOOM_Event ZOOM_Event_create | ( | int | kind | ) |
Definition at line 42 of file zoom-event.c.
References xmalloc.
Referenced by do_connect_host(), do_read(), do_write_ex(), handle_srw_response(), handle_Z3950_search_response(), record_cache_add(), send_APDU(), send_package(), ZOOM_connection_do_io(), ZOOM_connection_remove_task(), ZOOM_memcached_search(), ZOOM_record_cache_lookup(), ZOOM_send_GDU(), and ZOOM_test_reconnect().
void ZOOM_Event_destroy | ( | ZOOM_Event | event | ) |
Definition at line 90 of file zoom-event.c.
References xfree.
Referenced by ZOOM_connection_process(), and ZOOM_connection_remove_events().