dns_journal Struct Reference


Data Fields

unsigned int magic
 JOUR.
isc_mem_tmctx
 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_tindex
 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

Detailed Description

Definition at line 310 of file journal.c.


Field Documentation

unsigned int dns_journal::magic

JOUR.

Definition at line 311 of file journal.c.

Referenced by dns_journal_destroy(), and journal_open().

isc_mem_t* dns_journal::mctx

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().

journal_state_t dns_journal::state

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().

isc_offset_t dns_journal::offset

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().

journal_header_t dns_journal::header

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().

journal_pos_t* dns_journal::index

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().

journal_pos_t dns_journal::pos[2]

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().

journal_pos_t dns_journal::bpos

Position before first,.

Definition at line 330 of file journal.c.

Referenced by dns_journal_first_rr(), and dns_journal_iter_init().

journal_pos_t dns_journal::epos

and after last transaction

Definition at line 331 of file journal.c.

Referenced by dns_journal_iter_init(), and read_one_rr().

isc_uint32_t dns_journal::current_serial

Current SOA serial.

Definition at line 333 of file journal.c.

Referenced by dns_journal_first_rr(), read_one_rr(), and roll_forward().

isc_buffer_t dns_journal::source

Data from disk.

Definition at line 334 of file journal.c.

Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().

isc_buffer_t dns_journal::target

Data from _fromwire check.

Definition at line 335 of file journal.c.

Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().

dns_decompress_t dns_journal::dctx

Dummy decompression ctx.

Definition at line 336 of file journal.c.

Referenced by dns_journal_destroy(), journal_open(), and read_one_rr().

dns_name_t dns_journal::name

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().

dns_rdata_t dns_journal::rdata

Current rdata.

Definition at line 338 of file journal.c.

Referenced by dns_journal_current_rr(), journal_open(), and read_one_rr().

isc_uint32_t dns_journal::ttl

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().

isc_result_t dns_journal::result

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

Referenced by dns_journal_current_rr(), dns_journal_destroy(), dns_journal_first_rr(), dns_journal_iter_init(), dns_journal_next_rr(), journal_open(), read_one_rr(), and roll_forward().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha