Lines Matching defs:viewname
1157 const char *viewname = view->name;
1287 if (!strcmp(viewname, "_default")) {
1289 viewname = "";
1294 sep, viewname, namebuf);
1355 const char *viewname = view->name;
1385 if (!strcmp(viewname, "_default")) {
1387 viewname = "";
2274 sep, viewname);
2537 const char *viewname;
2546 viewname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name"));
2551 viewname = "_default";
2555 *namep = viewname;
2571 const char *viewname = NULL;
2575 result = get_viewinfo(vconfig, &viewname, &viewclass);
2579 result = dns_viewlist_find(viewlist, viewname, viewclass, &view);
2599 const char *viewname = NULL;
2603 result = get_viewinfo(vconfig, &viewname, &viewclass);
2607 result = dns_viewlist_find(viewlist, viewname, viewclass, &view);
2614 result = dns_view_create(ns_g_mctx, viewclass, viewname, &view);
5373 char *ptr, *viewname;
5399 viewname = next_token(&args, " \t");
5407 if (viewname != NULL && strcasecmp(viewname, view->name) != 0)
5426 char *ptr, *viewname;
5438 viewname = next_token(&args, " \t");
5448 if (viewname != NULL && strcasecmp(viewname, view->name) != 0)
5461 if (viewname != NULL)
5465 viewname);
5476 "view not found", viewname);
5487 char *ptr, *target, *viewname;
5515 viewname = next_token(&args, " \t");
5525 if (viewname != NULL && strcasecmp(viewname, view->name) != 0)
5539 if (viewname != NULL)
5543 "succeeded", target, viewname);
5556 viewname);
5686 char *viewname;
5692 viewname = next_token(&command, " \t");
5699 if (viewname == NULL || strcmp(view->name, viewname) == 0) {
5737 const char *viewname;
5740 viewname = view->name;
5742 viewname = "(global)";
5773 viewname, namestr, creatorstr);
5778 viewname, namestr);