OpenDNSSEC-signer  1.4.6
Data Structures | Typedefs | Functions
xfrhandler.h File Reference
#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"
Include dependency graph for xfrhandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xfrhandler_struct
 

Typedefs

typedef struct xfrhandler_struct xfrhandler_type
 

Functions

xfrhandler_typexfrhandler_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 Documentation

Zone transfer handler. Zone transfer handler.

Definition at line 48 of file xfrhandler.h.

Function Documentation

void xfrhandler_cleanup ( xfrhandler_type xfrhandler)

Cleanup zone transfer handler.

Parameters
[in]xfrhandler_type*zone transfer handler

Cleanup zone transfer handler.

Definition at line 215 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)
void xfrhandler_signal ( xfrhandler_type xfrhandler)

Signal zone transfer handler.

Parameters
[in]xfrhandler_type*zone transfer handler

Signal zone transfer handler.

Definition at line 174 of file xfrhandler.c.

References xfrhandler_struct::started, and xfrhandler_struct::thread_id.

void xfrhandler_start ( xfrhandler_type xfrhandler)
time_t xfrhandler_time ( xfrhandler_type xfrhandler)

Get current time from the zone transfer handler.

Parameters
[in]xfrhandler_type*zone transfer handler
Returns
time_t current time

Get current time from zone transfer handler.

Definition at line 156 of file xfrhandler.c.

References xfrhandler_struct::current_time, xfrhandler_struct::got_time, and time_now().