Lines Matching refs:obj

77 directory_callback(const char *clausename, const cfg_obj_t *obj, void *arg) {
89 directory = cfg_obj_asstring(obj);
92 cfg_obj_log(obj, logc, ISC_LOG_ERROR,
102 get_maps(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
107 if (cfg_map_get(maps[i], name, obj) == ISC_R_SUCCESS)
113 get_checknames(const cfg_obj_t **maps, const cfg_obj_t **obj) {
129 *obj = checknames;
139 *obj = cfg_tuple_get(value, "mode");
146 config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
152 if (cfg_map_get(maps[i], name, obj) == ISC_R_SUCCESS)
198 const cfg_obj_t *obj = NULL;
216 cfg_map_get(config, "options", &obj);
217 if (obj != NULL)
218 maps[i++] = obj;
248 obj = NULL;
249 if (get_maps(maps, "check-dup-records", &obj)) {
250 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
253 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
256 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
266 obj = NULL;
267 if (get_maps(maps, "check-mx", &obj)) {
268 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
271 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
274 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
284 obj = NULL;
285 if (get_maps(maps, "check-integrity", &obj)) {
286 if (cfg_obj_asboolean(obj))
293 obj = NULL;
294 if (get_maps(maps, "check-mx-cname", &obj)) {
295 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
298 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
301 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
311 obj = NULL;
312 if (get_maps(maps, "check-srv-cname", &obj)) {
313 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
316 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
319 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
329 obj = NULL;
330 if (get_maps(maps, "check-sibling", &obj)) {
331 if (cfg_obj_asboolean(obj))
337 obj = NULL;
338 if (get_maps(maps, "check-spf", &obj)) {
339 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
341 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
349 obj = NULL;
350 if (get_checknames(maps, &obj)) {
351 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
354 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
357 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {