OpenDNSSEC-signer  2.1.3
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 ()
 
void ixfr_add_rr (ixfr_type *ixfr, ldns_rr *rr)
 
void ixfr_del_rr (ixfr_type *ixfr, ldns_rr *rr)
 
int ixfr_print (FILE *fd, ixfr_type *ixfr)
 
void ixfr_purge (ixfr_type *ixfr, char const *zonename)
 
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 107 of file ixfr.c.

References ixfr_struct::part, and part_struct::plus.

Referenced by rrset_diff().

◆ ixfr_cleanup()

void ixfr_cleanup ( ixfr_type ixfr)

Cleanup the ixfr journal.

Definition at line 279 of file ixfr.c.

References IXFR_MAX_PARTS.

Referenced by zone_cleanup().

◆ ixfr_create()

ixfr_type* ixfr_create ( void  )

Create a new ixfr journal.

Definition at line 91 of file ixfr.c.

References ixfr_struct::ixfr_lock.

◆ ixfr_del_rr()

void ixfr_del_rr ( ixfr_type ixfr,
ldns_rr *  rr 
)

Add -RR to ixfr journal.

Definition at line 132 of file ixfr.c.

References part_struct::min, and ixfr_struct::part.

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

◆ ixfr_print()

int ixfr_print ( FILE *  fd,
ixfr_type ixfr 
)

Print the ixfr journal.

Definition at line 216 of file ixfr.c.

◆ ixfr_purge()

void ixfr_purge ( ixfr_type ixfr,
char const *  zonename 
)

Purge the ixfr journal.

Definition at line 239 of file ixfr.c.

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