Lines Matching refs:str

56 	char	str[254+1];
67 snprintf (str, sizeof (str), "\"%s\" in view \"%s\"", domain, z->view);
69 snprintf (str, sizeof (str), "\"%s\"", domain);
71 lg_mesg (LG_NOTICE, "%s: %s dynamic zone", str, action);
72 verbmesg (1, z, "\t%s dynamic zone %s\n", action, str);
80 *str = '\0';
83 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
88 verbmesg (2, z, "\t rndc %s return: \"%s\"\n", action, str_chop (str, '\n'));
104 char str[254+1];
146 *str = '\0';
150 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
153 verbmesg (2, zp->conf, "\t %s distribute return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));
165 *str = '\0';
169 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
172 verbmesg (2, zp->conf, "\t %s distribute return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));
180 *str = '\0';
184 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
187 verbmesg (2, zp->conf, "\t %s reload return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));
199 char str[254+1];
205 snprintf (str, sizeof (str), "\"%s\" in view \"%s\"", domain, z->view);
207 snprintf (str, sizeof (str), "\"%s\"", domain);
209 lg_mesg (LG_NOTICE, "%s: reload triggered", str);
210 verbmesg (1, z, "\tReload zone %s\n", str);
217 *str = '\0';
221 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
224 verbmesg (2, z, "\t rndc reload return: \"%s\"\n", str_chop (str, '\n'));