OpenDNSSEC-signer  2.0.2
Functions
ixfr.c File Reference
#include "config.h"
#include "util.h"
#include "signer/ixfr.h"
#include "signer/rrset.h"
#include "signer/zone.h"

Go to the source code of this file.

Functions

ixfr_typeixfr_create (zone_type *zone)
 
void ixfr_add_rr (ixfr_type *ixfr, ldns_rr *rr)
 
void ixfr_del_rr (ixfr_type *ixfr, ldns_rr *rr)
 
void ixfr_print (FILE *fd, ixfr_type *ixfr)
 
void ixfr_purge (ixfr_type *ixfr)
 
void ixfr_cleanup (ixfr_type *ixfr)
 

Function Documentation

§ ixfr_add_rr()

void ixfr_add_rr ( ixfr_type ixfr,
ldns_rr *  rr 
)

Add +RR to ixfr journal.

Definition at line 121 of file ixfr.c.

References zone_struct::db, namedb_struct::is_initialized, ixfr_struct::part, part_struct::plus, and ixfr_struct::zone.

Referenced by rrset_diff().

§ ixfr_cleanup()

void ixfr_cleanup ( ixfr_type ixfr)

Cleanup the ixfr journal.

Definition at line 305 of file ixfr.c.

References IXFR_MAX_PARTS.

Referenced by zone_cleanup().

§ ixfr_create()

ixfr_type* ixfr_create ( zone_type zone)

Create a new ixfr journal.

Definition at line 93 of file ixfr.c.

References zone_struct::name.

§ ixfr_del_rr()

void ixfr_del_rr ( ixfr_type ixfr,
ldns_rr *  rr 
)

Add -RR to ixfr journal.

Definition at line 151 of file ixfr.c.

References zone_struct::db, namedb_struct::is_initialized, part_struct::min, ixfr_struct::part, and ixfr_struct::zone.

Referenced by namedb_wipe_denial(), rrset_diff(), and rrset_drop_rrsigs().

§ ixfr_print()

void ixfr_print ( FILE *  fd,
ixfr_type ixfr 
)

Print the ixfr journal.

Definition at line 243 of file ixfr.c.

§ ixfr_purge()

void ixfr_purge ( ixfr_type ixfr)

Purge the ixfr journal.

Definition at line 262 of file ixfr.c.

References ixfr_struct::part, part_struct::soamin, part_struct::soaplus, and ixfr_struct::zone.