OpenDNSSEC-signer  1.3.9
Functions
adapi.c File Reference
#include "config.h"
#include "adapter/adapi.h"
#include "shared/duration.h"
#include "shared/log.h"
#include "shared/status.h"
#include "shared/util.h"
#include "signer/zone.h"
#include <ldns/ldns.h>
Include dependency graph for adapi.c:

Go to the source code of this file.

Functions

uint32_t adapi_get_serial (zone_type *zone)
 
void adapi_set_serial (zone_type *zone, uint32_t serial)
 
ldns_rdf * adapi_get_origin (zone_type *zone)
 
uint32_t adapi_get_ttl (zone_type *zone)
 
ods_status adapi_trans_full (zone_type *zone)
 
ods_status adapi_trans_diff (zone_type *zone)
 
ods_status adapi_add_rr (zone_type *zone, ldns_rr *rr)
 
ods_status adapi_del_rr (zone_type *zone, ldns_rr *rr)
 

Function Documentation

ods_status adapi_add_rr ( zone_type zone,
ldns_rr *  rr 
)

Add RR.

Definition at line 168 of file adapi.c.

References zone_add_rr().

ods_status adapi_del_rr ( zone_type zone,
ldns_rr *  rr 
)

Delete RR.

Definition at line 179 of file adapi.c.

References zone_del_rr().

ldns_rdf* adapi_get_origin ( zone_type zone)

Get origin.

Definition at line 89 of file adapi.c.

References zone_struct::dname, ods_log_assert, and ods_log_error().

uint32_t adapi_get_serial ( zone_type zone)

Get the inbound serial.

Definition at line 52 of file adapi.c.

References zonedata_struct::inbound_serial, ods_log_assert, ods_log_error(), and zone_struct::zonedata.

uint32_t adapi_get_ttl ( zone_type zone)

Get ttl.

Definition at line 106 of file adapi.c.

References zonedata_struct::default_ttl, ods_log_assert, ods_log_error(), and zone_struct::zonedata.

void adapi_set_serial ( zone_type zone,
uint32_t  serial 
)

Set the inbound serial.

Definition at line 70 of file adapi.c.

References zonedata_struct::inbound_serial, ods_log_assert, ods_log_error(), and zone_struct::zonedata.

Referenced by adfile_read().

ods_status adapi_trans_diff ( zone_type zone)
ods_status adapi_trans_full ( zone_type zone)