OpenDNSSEC-signer
1.3.16
|
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) |
ods_status adapi_add_rr | ( | zone_type * | zone, |
ldns_rr * | rr | ||
) |
Add RR.
[in] | zone | zone |
[in] | 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.
[in] | zone | zone |
[in] | 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.
[in] | zone | 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 | ) |
Adapter API. Get the inbound serial.
[in] | zone | 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.
[in] | zone | 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.
[in] | zone | zone |
[in] | serial | inbound 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 | ) |
Definition at line 149 of file adapi.c.
References ods_log_assert, ods_log_error(), ODS_STATUS_ASSERT_ERR, ODS_STATUS_OK, and zone_struct::zonedata.
ods_status adapi_trans_full | ( | zone_type * | zone | ) |
Definition at line 124 of file adapi.c.
References signconf_struct::keys, ods_log_assert, ods_log_error(), ODS_STATUS_ASSERT_ERR, zone_struct::signconf, zone_struct::zonedata, and zonedata_diff().
Referenced by adbackup_read(), and adfile_read().