OpenDNSSEC-signer
1.4.7
|
Go to the source code of this file.
Data Structures | |
struct | part_struct |
struct | ixfr_struct |
Macros | |
#define | IXFR_MAX_PARTS 3 |
Typedefs | |
typedef struct part_struct | part_type |
typedef struct ixfr_struct | ixfr_type |
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) |
#define IXFR_MAX_PARTS 3 |
Domain name database.
Definition at line 40 of file ixfr.h.
Referenced by ixfr_cleanup(), ixfr_create(), ixfr_print(), and ixfr_purge().
typedef struct ixfr_struct ixfr_type |
typedef struct part_struct part_type |
void ixfr_add_rr | ( | ixfr_type * | ixfr, |
ldns_rr * | rr | ||
) |
Add +RR to ixfr journal.
[in] | ixfr | journal |
[in] | rr | +RR |
Add +RR to ixfr journal.
Definition at line 130 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.
[in] | ixfr | journal |
Cleanup the ixfr journal.
Definition at line 309 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.
[in] | zone | zone reference |
Create a new ixfr journal.
Definition at line 100 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.
[in] | ixfr | journal |
[in] | rr | -RR |
Add -RR to ixfr journal.
Definition at line 161 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.
[in] | fd | file descriptor |
[in] | ixfr | journal |
Print the ixfr journal.
Definition at line 255 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.
[in] | ixfr | journal |
Purge the ixfr journal.
Definition at line 275 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().