Lines Matching defs:raw
32 dns_zone_t *raw = NULL;
43 CHECK(dns_zone_create(&raw, inst->mctx));
44 CHECK(dns_zone_setorigin(raw, name));
45 dns_zone_setclass(raw, dns_rdataclass_in);
46 dns_zone_settype(raw, dns_zone_master);
47 CHECK(dns_zone_setdbtype(raw, 1, zone_argv));
48 CHECK(dns_zonemgr_managezone(inst->zmgr, raw));
52 dns_zone_setupdateacl(raw, acl_any);
53 dns_zone_setqueryacl(raw, acl_any);
54 dns_zone_setxfracl(raw, acl_any);
57 *rawp = raw;
64 if (raw != NULL) {
65 if (dns_zone_getmgr(raw) != NULL)
66 dns_zonemgr_releasezone(inst->zmgr, raw);
67 dns_zone_detach(&raw);
142 * @warning Never call this on raw part of in-line secure zone, call it only
171 activate_zone(sample_instance_t *inst, dns_zone_t *raw) {
179 result = publish_zone(inst, raw);
181 dns_zone_log(raw, ISC_LOG_ERROR,
187 CHECK(load_zone(raw));