|
OpenDNSSEC-signer
1.4.9
|
#include "config.h"#include "shared/allocator.h"#include "shared/locks.h"#include "wire/buffer.h"#include "wire/netio.h"#include "wire/notify.h"#include "wire/tcpset.h"#include "wire/xfrd.h"

Go to the source code of this file.
Data Structures | |
| struct | xfrhandler_struct |
Typedefs | |
| typedef struct xfrhandler_struct | xfrhandler_type |
Functions | |
| xfrhandler_type * | xfrhandler_create (allocator_type *allocator) |
| void | xfrhandler_start (xfrhandler_type *xfrhandler) |
| time_t | xfrhandler_time (xfrhandler_type *xfrhandler) |
| void | xfrhandler_signal (xfrhandler_type *xfrhandler) |
| void | xfrhandler_cleanup (xfrhandler_type *xfrhandler) |
| typedef struct xfrhandler_struct xfrhandler_type |
Zone transfer handler. Zone transfer handler.
Definition at line 48 of file xfrhandler.h.
| void xfrhandler_cleanup | ( | xfrhandler_type * | xfrhandler | ) |
Cleanup zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Cleanup zone transfer handler.
Definition at line 216 of file xfrhandler.c.
References xfrhandler_struct::allocator, allocator_deallocate(), buffer_cleanup(), xfrhandler_struct::netio, netio_cleanup(), xfrhandler_struct::packet, xfrhandler_struct::tcp_set, and tcp_set_cleanup().
Referenced by engine_cleanup(), and xfrhandler_create().
| xfrhandler_type* xfrhandler_create | ( | allocator_type * | allocator | ) |
Create zone transfer handler.
| [in] | allocator | memory allocator |
Create zone transfer handler.
Definition at line 52 of file xfrhandler.c.
References xfrhandler_struct::allocator, allocator_alloc(), buffer_create(), xfrhandler_struct::current_time, xfrhandler_struct::dnshandler, xfrhandler_struct::engine, netio_handler_struct::event_handler, netio_handler_struct::event_types, netio_handler_struct::fd, xfrhandler_struct::got_time, xfrhandler_struct::need_to_exit, xfrhandler_struct::netio, netio_create(), NETIO_EVENT_READ, xfrhandler_struct::notify_udp_num, xfrhandler_struct::notify_waiting_first, xfrhandler_struct::notify_waiting_last, ods_log_error(), xfrhandler_struct::packet, PACKET_BUFFER_SIZE, xfrhandler_struct::start_time, xfrhandler_struct::started, xfrhandler_struct::tcp_set, tcp_set_create(), xfrhandler_struct::tcp_waiting_first, netio_handler_struct::timeout, xfrhandler_struct::udp_use_num, xfrhandler_struct::udp_waiting_first, xfrhandler_struct::udp_waiting_last, netio_handler_struct::user_data, and xfrhandler_cleanup().
Referenced by engine_wakeup_workers().
| void xfrhandler_signal | ( | xfrhandler_type * | xfrhandler | ) |
Signal zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Signal zone transfer handler.
Definition at line 175 of file xfrhandler.c.
References xfrhandler_struct::dnshandler, netio_handler_struct::fd, MAX_PACKET_SIZE, NETIO_EVENT_READ, ods_log_assert, ods_log_debug(), ods_log_error(), xfrhandler_struct::started, xfrhandler_struct::thread_id, and netio_handler_struct::user_data.
| void xfrhandler_start | ( | xfrhandler_type * | xfrhandler | ) |
Start zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Start zone transfer handler.
Definition at line 119 of file xfrhandler.c.
References xfrhandler_struct::dnshandler, xfrhandler_struct::engine, xfrhandler_struct::got_time, xfrhandler_struct::need_to_exit, xfrhandler_struct::netio, netio_add_handler(), netio_dispatch(), ods_log_assert, ods_log_debug(), ods_log_deeebug(), ods_log_error(), xfrhandler_struct::start_time, and time_now().
| time_t xfrhandler_time | ( | xfrhandler_type * | xfrhandler | ) |
Get current time from the zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Get current time from zone transfer handler.
Definition at line 157 of file xfrhandler.c.
References xfrhandler_struct::current_time, xfrhandler_struct::got_time, and time_now().
Referenced by xfrd_create().
1.8.11