Go to the documentation of this file.
41 static const char* adapter_str =
"adapter";
55 ods_log_error(
"[%s] unable to create adapter: allocator_create() "
56 "failed", adapter_str);
61 ods_log_error(
"[%s] unable to create adapter: allocator_alloc() "
62 "failed", adapter_str);
74 ods_log_error(
"[%s] unable to create adapter: allocator_strdup() "
75 "failed", adapter_str);
80 switch(adapter->
type) {
88 "dnsin_create() failed", adapter_str);
96 "dnsout_create() failed", adapter_str);
124 switch(adapter->
type) {
135 adapter->
config = (
void*) dnsin;
146 adapter->
config = (
void*) dnsout;
185 ods_log_error(
"[%s] unable to read zone %s from adapter: unknown "
186 "adapter", adapter_str, adzone->
name);
204 ods_log_error(
"[%s] unable to write zone: no output adapter",
214 "adapter %s", adapter_str, adzone->
name,
222 ods_log_error(
"[%s] unable to write zone %s to adapter: unknown "
223 "adapter", adapter_str, adzone->
name);
267 switch(adapter->
type) {