Go to the documentation of this file.
43 static const char* adapter_str =
"adapter";
57 ods_log_error(
"[%s] unable to create adapter: allocator_create() "
58 "failed", adapter_str);
63 ods_log_error(
"[%s] unable to create adapter: allocator_alloc() "
64 "failed", adapter_str);
76 ods_log_error(
"[%s] unable to create adapter: allocator_strdup() "
77 "failed", adapter_str);
82 switch(adapter->
type) {
90 "dnsin_create() failed", adapter_str);
98 "dnsout_create() failed", adapter_str);
126 switch(adapter->
type) {
137 adapter->
config = (
void*) dnsin;
148 adapter->
config = (
void*) dnsout;
187 ods_log_error(
"[%s] unable to read zone %s from adapter: unknown "
188 "adapter", adapter_str, adzone->
name);
206 ods_log_error(
"[%s] unable to write zone: no output adapter",
216 "adapter %s", adapter_str, adzone->
name,
224 ods_log_error(
"[%s] unable to write zone %s to adapter: unknown "
225 "adapter", adapter_str, adzone->
name);
269 switch(adapter->
type) {