OpenDNSSEC-signer
1.4.3
|
#include "config.h"
#include "shared/util.h"
#include "signer/ixfr.h"
#include "signer/rrset.h"
#include "signer/zone.h"
Go to the source code of this file.
Functions | |
ixfr_type * | ixfr_create (void *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) |
void ixfr_add_rr | ( | ixfr_type * | ixfr, |
ldns_rr * | rr | ||
) |
Add +RR to ixfr journal.
Definition at line 132 of file ixfr.c.
References zone_struct::db, namedb_struct::is_initialized, ods_fatal_exit(), ods_log_assert, ixfr_struct::part, part_struct::plus, part_struct::soaplus, and ixfr_struct::zone.
Referenced by backup_read_ixfr(), rrset_diff(), and rrset_sign().
void ixfr_cleanup | ( | ixfr_type * | ixfr | ) |
Cleanup the ixfr journal.
Definition at line 311 of file ixfr.c.
References zone_struct::allocator, allocator_deallocate(), ixfr_struct::ixfr_lock, IXFR_MAX_PARTS, lock_basic_destroy, ixfr_struct::part, and ixfr_struct::zone.
Referenced by zone_cleanup(), and zone_recover2().
ixfr_type* ixfr_create | ( | void * | zone | ) |
Create a new ixfr journal.
Definition at line 102 of file ixfr.c.
References zone_struct::allocator, allocator_alloc(), ixfr_struct::ixfr_lock, IXFR_MAX_PARTS, lock_basic_init, zone_struct::name, ods_log_assert, ods_log_error(), ixfr_struct::part, and ixfr_struct::zone.
Referenced by zone_create(), and zone_recover2().
void ixfr_del_rr | ( | ixfr_type * | ixfr, |
ldns_rr * | rr | ||
) |
Add -RR to ixfr journal.
Definition at line 163 of file ixfr.c.
References zone_struct::db, namedb_struct::is_initialized, part_struct::min, ods_fatal_exit(), ods_log_assert, ixfr_struct::part, part_struct::soamin, and ixfr_struct::zone.
Referenced by backup_read_ixfr(), namedb_wipe_denial(), and rrset_diff().
void ixfr_print | ( | FILE * | fd, |
ixfr_type * | ixfr | ||
) |
Print the ixfr journal.
Definition at line 257 of file ixfr.c.
References IXFR_MAX_PARTS, ods_log_debug(), and ods_log_deeebug().
Referenced by adapi_printixfr().
void ixfr_purge | ( | ixfr_type * | ixfr | ) |
Purge the ixfr journal.
Definition at line 277 of file ixfr.c.
References zone_struct::allocator, IXFR_MAX_PARTS, zone_struct::name, ods_fatal_exit(), ods_log_assert, ods_log_debug(), ixfr_struct::part, and ixfr_struct::zone.
Referenced by backup_read_ixfr(), tools_output(), and zone_recover2().