Lines Matching refs:defaults
152 dns_catz_options_setdefault(isc_mem_t *mctx, const dns_catz_options_t *defaults,
155 if (opts->masters.count == 0 && defaults->masters.count != 0)
156 dns_ipkeylist_copy(mctx, &defaults->masters, &opts->masters);
158 if (defaults->zonedir != NULL)
159 opts->zonedir = isc_mem_strdup(mctx, defaults->zonedir);
161 if (opts->allow_query == NULL && defaults->allow_query != NULL)
162 isc_buffer_dup(mctx, &opts->allow_query, defaults->allow_query);
163 if (opts->allow_transfer == NULL && defaults->allow_transfer != NULL)
165 defaults->allow_transfer);
168 opts->in_memory = defaults->in_memory;