OpenDNSSEC-signer 2.1.12
|
#include "adapter/adapter.h"
#include "file.h"
#include "log.h"
#include "status.h"
#include "signer/zone.h"
#include <stdlib.h>
Go to the source code of this file.
Functions | |
adapter_type * | adapter_create (const char *str, adapter_mode type, unsigned in) |
ods_status | adapter_load_config (adapter_type *adapter) |
ods_status | adapter_read (zone_type *zone) |
ods_status | adapter_write (zone_type *zone) |
int | adapter_compare (adapter_type *a1, adapter_type *a2) |
void | adapter_cleanup (adapter_type *adapter) |
void adapter_cleanup | ( | adapter_type * | adapter | ) |
Clean up adapter.
Definition at line 234 of file adapter.c.
References ADAPTER_DNS, ADAPTER_FILE, adapter_struct::config, adapter_struct::configstr, dnsin_cleanup(), dnsout_cleanup(), adapter_struct::inbound, and adapter_struct::type.
Referenced by zone_cleanup().
int adapter_compare | ( | adapter_type * | a1, |
adapter_type * | a2 | ||
) |
Compare adapters.
Definition at line 212 of file adapter.c.
References adapter_struct::configstr, adapter_struct::inbound, and adapter_struct::type.
adapter_type * adapter_create | ( | const char * | str, |
adapter_mode | type, | ||
unsigned | in | ||
) |
Create a new adapter.
Definition at line 48 of file adapter.c.
References adapter_struct::config, adapter_struct::config_last_modified, adapter_struct::configstr, adapter_struct::error, adapter_struct::inbound, and adapter_struct::type.
ods_status adapter_load_config | ( | adapter_type * | adapter | ) |
Load ACL.
Definition at line 99 of file adapter.c.
References ADAPTER_DNS, ADAPTER_FILE, adapter_struct::config, adapter_struct::config_last_modified, adapter_struct::configstr, dnsin_update(), dnsout_update(), adapter_struct::inbound, and adapter_struct::type.
ods_status adapter_read | ( | zone_type * | zone | ) |
Read zone from input adapter.
[in] | zone | zone |
Definition at line 147 of file adapter.c.
References zone_struct::adinbound.
ods_status adapter_write | ( | zone_type * | zone | ) |
Write zone to output adapter.
Definition at line 179 of file adapter.c.
References zone_struct::adoutbound, and zone_struct::db.