Home
last modified time | relevance | path

Searched refs:cfgfile (Results 1 – 15 of 15) sorted by relevance

/openbsd/usr.sbin/sasyncd/
H A Dsasyncd.c147 char *cfgfile = 0; in main() local
160 if (cfgfile) in main()
162 cfgfile = optarg; in main()
192 if (!cfgfile) in main()
193 cfgfile = SASYNCD_CFGFILE; in main()
195 if (conf_parse_file(cfgfile) == 0 ) { in main()
H A Dconf.y348 conf_parse_file(char *cfgfile) in conf_parse_file() argument
355 if (stat(cfgfile, &st) != 0) in conf_parse_file()
372 fd = open(cfgfile, O_RDONLY); in conf_parse_file()
425 log_msg(0, "failed to open \"%s\"", cfgfile); in conf_parse_file()
/openbsd/usr.sbin/unbound/daemon/
H A Dunbound.c469 const char** cfgfile, int need_pidfile) in perform_setup() argument
609 if(strncmp(*cfgfile, cfg->chrootdir, in perform_setup()
611 (*cfgfile) += strlen(cfg->chrootdir); in perform_setup()
628 (void)cfgfile; in perform_setup()
711 if(!config_read(cfg, cfgfile, daemon->chroot)) { in run_daemon()
716 "or unbound-checkconf", cfgfile); in run_daemon()
727 perform_setup(daemon, cfg, debug_mode, &cfgfile, need_pidfile); in run_daemon()
776 const char* cfgfile = CONFIGFILE; in main() local
796 cfgfile = optarg; in main()
829 wsvc_command_option(winopt, cfgfile, cmdline_verbose, in main()
[all …]
/openbsd/usr.sbin/unbound/smallapp/
H A Dunbound-control.c454 static void print_stats_shm(const char* cfgfile, int quiet) in print_stats_shm() argument
464 if(!config_read(cfg, cfgfile, NULL)) in print_stats_shm()
495 (void)cfgfile; in print_stats_shm()
919 if(!config_read(cfg, cfgfile, NULL)) in go()
952 const char* cfgfile = CONFIGFILE; in main() local
968 if(!(cfgfile=w_lookup_reg_str("Software\\Unbound", "ConfigFile"))) in main()
969 cfgfile = CONFIGFILE; in main()
975 cfgfile = optarg; in main()
998 if(execlp("unbound", "unbound", "-c", cfgfile, in main()
1006 print_stats_shm(cfgfile, quiet); in main()
[all …]
H A Dunbound-checkconf.c976 checkconf(const char* cfgfile, const char* opt, int final, int quiet) in checkconf() argument
987 if(!config_read(cfg, cfgfile, NULL)) { in checkconf()
1009 if(!quiet) { printf("unbound-checkconf: no errors in %s\n", cfgfile); } in checkconf()
1026 const char* cfgfile = CONFIGFILE; in main() local
1032 if(!(cfgfile=w_lookup_reg_str("Software\\Unbound", "ConfigFile"))) in main()
1033 cfgfile = CONFIGFILE; in main()
1059 else f = cfgfile; in main()
/openbsd/usr.sbin/nsd/
H A Dnsd-control.c511 go(const char* cfgfile, char* svr, int argc, char* argv[]) in go() argument
526 if(!parse_options_file(opt, cfgfile, NULL, NULL, NULL)) { in go()
571 const char* cfgfile = CONFIGFILE; in main() local
614 cfgfile = optarg; in main()
634 if(execl(path, "nsd", "-c", cfgfile, (char*)NULL) < 0) { in main()
641 return go(cfgfile, svr, argc, argv); in main()
H A Dremote.c2006 const char* cfgfile = xfrd->nsd->options->configfile; in do_repattern() local
2013 if(strncmp(xfrd->nsd->chrootdir, cfgfile, l) != 0) { in do_repattern()
2016 cfgfile, xfrd->nsd->chrootdir); in do_repattern()
2020 cfgfile += l; in do_repattern()
2023 (void)ssl_printf(ssl, "reconfig start, read %s\n", cfgfile); in do_repattern()
2025 if(!parse_options_file(opt, cfgfile, &print_ssl_cfg_err, &ssl, in do_repattern()
/openbsd/gnu/usr.bin/binutils/
H A Dltconfig2214 cfgfile="$ofile"
2229 cfgfile="$ofile.cfg"
2231 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
2232 echo "creating $cfgfile"
2233 $rm "$cfgfile"
2234 cat <<EOF > "$cfgfile"
2241 echo "appending to $cfgfile"
2247 cat <<EOF >> "$cfgfile"
/openbsd/gnu/usr.bin/binutils-2.17/
H A Dltconfig2237 cfgfile="$ofile"
2252 cfgfile="$ofile.cfg"
2254 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
2255 echo "creating $cfgfile"
2256 $rm "$cfgfile"
2257 cat <<EOF > "$cfgfile"
2264 echo "appending to $cfgfile"
2270 cat <<EOF >> "$cfgfile"
/openbsd/gnu/lib/libstdc++/
H A Dltconfig2210 cfgfile="$ofile"
2225 cfgfile="$ofile.cfg"
2227 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
2228 echo "creating $cfgfile"
2229 $rm "$cfgfile"
2230 cat <<EOF > "$cfgfile"
2237 echo "appending to $cfgfile"
2243 cat <<EOF >> "$cfgfile"
/openbsd/gnu/share/
H A Dltconfig2739 cfgfile="$ofile"
2751 cfgfile="$ofile.cfg"
2752 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
2753 echo "creating $cfgfile"
2754 $rm "$cfgfile"
2755 cat <<EOF > "$cfgfile"
2762 cat <<EOF >> "$cfgfile"
/openbsd/usr.sbin/unbound/testcode/
H A Dtestbound.c549 const char* ATTR_UNUSED(cfgfile), int ATTR_UNUSED(v), in wsvc_command_option() argument
/openbsd/usr.sbin/unbound/
H A Dconfigure26346 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26347 $RM "$cfgfile"
26349 cat <<_LT_EOF >> "$cfgfile"
26797 cat <<'_LT_EOF' >> "$cfgfile"
26858 cat <<\_LT_EOF >> "$cfgfile"
26879 $SED '$q' "$ltmain" >> "$cfgfile" \
26880 || (rm -f "$cfgfile"; exit 1)
26882 mv -f "$cfgfile" "$ofile" ||
26883 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
H A Daclocal.m4734 cfgfile=${ofile}T
735 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
736 $RM "$cfgfile"
738 cat <<_LT_EOF >> "$cfgfile"
760 cat <<'_LT_EOF' >> "$cfgfile"
773 cat <<\_LT_EOF >> "$cfgfile"
791 $SED '$q' "$ltmain" >> "$cfgfile" \
792 || (rm -f "$cfgfile"; exit 1)
794 mv -f "$cfgfile" "$ofile" ||
795 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
/openbsd/usr.sbin/unbound/doc/
H A DChangelog11001 - remove warning about const cast of cfgfile name.