OpenDNSSEC-signer  2.0.2
Functions
xfrhandler.c File Reference
#include "config.h"
#include "daemon/engine.h"
#include "daemon/xfrhandler.h"
#include "duration.h"
#include "status.h"
#include <errno.h>
#include <string.h>

Go to the source code of this file.

Functions

xfrhandler_typexfrhandler_create ()
 
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)
 

Function Documentation

§ xfrhandler_cleanup()

void xfrhandler_cleanup ( xfrhandler_type xfrhandler)

Cleanup zone transfer handler.

Definition at line 197 of file xfrhandler.c.

References buffer_cleanup(), xfrhandler_struct::netio, netio_cleanup(), xfrhandler_struct::packet, xfrhandler_struct::tcp_set, and tcp_set_cleanup().

Referenced by engine_cleanup().

§ xfrhandler_create()

xfrhandler_type* xfrhandler_create ( void  )

§ xfrhandler_signal()

void xfrhandler_signal ( xfrhandler_type xfrhandler)

Signal zone transfer handler.

Definition at line 158 of file xfrhandler.c.

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

§ xfrhandler_start()

void xfrhandler_start ( xfrhandler_type xfrhandler)

Start zone transfer handler.

Definition at line 109 of file xfrhandler.c.

References xfrhandler_struct::engine.

§ xfrhandler_time()

time_t xfrhandler_time ( xfrhandler_type xfrhandler)

Get current time from zone transfer handler.

Definition at line 140 of file xfrhandler.c.

References xfrhandler_struct::current_time, and xfrhandler_struct::got_time.