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;
246 obj = NULL;
247 if (get_maps(maps, "check-mx", &obj)) {
248 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
251 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
254 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
264 obj = NULL;
265 if (get_maps(maps, "check-integrity", &obj)) {
266 if (cfg_obj_asboolean(obj))
273 obj = NULL;
274 if (get_maps(maps, "check-mx-cname", &obj)) {
275 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
278 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
281 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
291 obj = NULL;
292 if (get_maps(maps, "check-srv-cname", &obj)) {
293 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
296 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
299 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
309 obj = NULL;
310 if (get_maps(maps, "check-sibling", &obj)) {
311 if (cfg_obj_asboolean(obj))
317 obj = NULL;
318 if (get_maps(maps, "check-spf", &obj)) {
319 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
321 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
329 obj = NULL;
330 if (get_checknames(maps, &obj)) {
331 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
334 } else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
337 } else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {