Data Fields | |
unsigned int | magic |
JOUR. | |
isc_mem_t * | mctx |
Memory context. | |
journal_state_t | state |
char * | filename |
Journal file name. | |
FILE * | fp |
File handle. | |
isc_offset_t | offset |
Current file offset. | |
journal_header_t | header |
In-core journal header. | |
unsigned char * | rawindex |
In-core buffer for journal index in on-disk format. | |
journal_pos_t * | index |
In-core journal index. | |
struct { | |
unsigned int n_soa | |
Number of SOAs seen. | |
journal_pos_t pos [2] | |
Begin/end position. | |
} | x |
struct { | |
journal_pos_t bpos | |
Position before first,. | |
journal_pos_t epos | |
and after last transaction | |
isc_uint32_t current_serial | |
Current SOA serial. | |
isc_buffer_t source | |
Data from disk. | |
isc_buffer_t target | |
Data from _fromwire check. | |
dns_decompress_t dctx | |
Dummy decompression ctx. | |
dns_name_t name | |
Current domain name. | |
dns_rdata_t rdata | |
Current rdata. | |
isc_uint32_t ttl | |
Current TTL. | |
unsigned int xsize | |
Size of transaction data. | |
unsigned int xpos | |
Current position in it. | |
isc_result_t result | |
Result of last call. | |
} | it |
Definition at line 310 of file journal.c.
unsigned int dns_journal::magic |
JOUR.
Definition at line 311 of file journal.c.
Referenced by dns_journal_destroy(), and journal_open().
Memory context.
Definition at line 312 of file journal.c.
Referenced by dns_journal_destroy(), dns_journal_print(), dns_journal_writediff(), journal_open(), read_one_rr(), and roll_forward().
Definition at line 313 of file journal.c.
Referenced by dns_journal_begin_transaction(), dns_journal_commit(), dns_journal_set_sourceserial(), dns_journal_writediff(), and journal_open().
char* dns_journal::filename |
Journal file name.
Definition at line 314 of file journal.c.
Referenced by dns_journal_commit(), dns_journal_destroy(), dns_journal_print(), journal_fsync(), journal_next(), journal_open(), journal_read(), journal_seek(), journal_write(), read_one_rr(), and roll_forward().
FILE* dns_journal::fp |
File handle.
Definition at line 315 of file journal.c.
Referenced by dns_journal_destroy(), journal_fsync(), journal_open(), journal_read(), journal_seek(), and journal_write().
Current file offset.
Definition at line 316 of file journal.c.
Referenced by dns_journal_begin_transaction(), journal_open(), journal_read(), journal_seek(), journal_write(), and read_one_rr().
In-core journal header.
Definition at line 317 of file journal.c.
Referenced by dns_journal_begin_transaction(), dns_journal_commit(), dns_journal_compact(), dns_journal_destroy(), dns_journal_first_serial(), dns_journal_get_sourceserial(), dns_journal_last_serial(), dns_journal_print(), dns_journal_rollforward(), dns_journal_set_sourceserial(), index_add(), index_find(), index_invalidate(), index_to_disk(), journal_find(), journal_next(), and journal_open().
unsigned char* dns_journal::rawindex |
In-core buffer for journal index in on-disk format.
Definition at line 318 of file journal.c.
Referenced by dns_journal_destroy(), index_to_disk(), and journal_open().
In-core journal index.
Definition at line 319 of file journal.c.
Referenced by dns_journal_compact(), dns_journal_destroy(), index_add(), index_find(), index_invalidate(), index_to_disk(), and journal_open().
unsigned int dns_journal::n_soa |
Number of SOAs seen.
Definition at line 323 of file journal.c.
Referenced by dns_journal_begin_transaction(), dns_journal_commit(), and dns_journal_writediff().
Begin/end position.
Definition at line 324 of file journal.c.
Referenced by dns_journal_begin_transaction(), dns_journal_commit(), and dns_journal_writediff().
struct { ... } dns_journal::x |
Referenced by dns_journal_begin_transaction(), dns_journal_commit(), and dns_journal_writediff().
Position before first,.
Definition at line 330 of file journal.c.
Referenced by dns_journal_first_rr(), and dns_journal_iter_init().
and after last transaction
Definition at line 331 of file journal.c.
Referenced by dns_journal_iter_init(), and read_one_rr().
Current SOA serial.
Definition at line 333 of file journal.c.
Referenced by dns_journal_first_rr(), read_one_rr(), and roll_forward().
Data from disk.
Definition at line 334 of file journal.c.
Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().
Data from _fromwire check.
Definition at line 335 of file journal.c.
Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().
Dummy decompression ctx.
Definition at line 336 of file journal.c.
Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().
Current domain name.
Definition at line 337 of file journal.c.
Referenced by dns_journal_current_rr(), dns_journal_destroy(), journal_open(), and read_one_rr().
Current rdata.
Definition at line 338 of file journal.c.
Referenced by dns_journal_current_rr(), journal_open(), and read_one_rr().
Current TTL.
Definition at line 339 of file journal.c.
Referenced by dns_journal_current_rr(), and read_one_rr().
unsigned int dns_journal::xsize |
Size of transaction data.
Definition at line 340 of file journal.c.
Referenced by dns_journal_first_rr(), and read_one_rr().
unsigned int dns_journal::xpos |
Current position in it.
Definition at line 341 of file journal.c.
Referenced by dns_journal_first_rr(), and read_one_rr().
Result of last call.
Definition at line 342 of file journal.c.
Referenced by dns_journal_current_rr(), dns_journal_destroy(), dns_journal_iter_init(), dns_journal_next_rr(), and read_one_rr().
struct { ... } dns_journal::it |