|
OpenDNSSEC-signer
2.1.3
|
#include "config.h"#include "status.h"#include "locks.h"#include "wire/buffer.h"#include "wire/netio.h"#include "wire/notify.h"#include "wire/tcpset.h"#include "wire/xfrd.h"#include "engine.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 (void) |
| 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.
Definition at line 37 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 198 of file xfrhandler.c.
References buffer_cleanup(), xfrhandler_struct::netio, netio_cleanup_shallow(), xfrhandler_struct::packet, xfrhandler_struct::tcp_set, and tcp_set_cleanup().
Referenced by engine_cleanup().
| xfrhandler_type* xfrhandler_create | ( | void | ) |
Create zone transfer handler.
| [in] | allocator | memory allocator |
Create zone transfer handler.
Definition at line 52 of file xfrhandler.c.
References xfrhandler_struct::current_time, xfrhandler_struct::engine, xfrhandler_struct::got_time, xfrhandler_struct::need_to_exit, xfrhandler_struct::netio, netio_create(), xfrhandler_struct::notify_udp_num, xfrhandler_struct::notify_waiting_first, xfrhandler_struct::notify_waiting_last, xfrhandler_struct::packet, xfrhandler_struct::start_time, xfrhandler_struct::started, xfrhandler_struct::tcp_set, xfrhandler_struct::tcp_waiting_first, xfrhandler_struct::udp_use_num, xfrhandler_struct::udp_waiting_first, and xfrhandler_struct::udp_waiting_last.
| void xfrhandler_signal | ( | xfrhandler_type * | xfrhandler | ) |
Signal zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Signal zone transfer handler.
Definition at line 159 of file xfrhandler.c.
References xfrhandler_struct::started, and xfrhandler_struct::thread_id.
| void xfrhandler_start | ( | xfrhandler_type * | xfrhandler | ) |
Start zone transfer handler.
| [in] | xfrhandler_type* | zone transfer handler |
Start zone transfer handler.
Definition at line 110 of file xfrhandler.c.
References xfrhandler_struct::engine.
| 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 141 of file xfrhandler.c.
References xfrhandler_struct::current_time, and xfrhandler_struct::got_time.
1.8.13