Searched defs:progname (Results 1 - 25 of 26) sorted by relevance

12

/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dquery-loc.c6 char *progname; variable
26 progname = argv[0];
39 "%s: illegal debug value.\n", progname);
55 printf ("\nThis is %s, version %s.\n\n", progname, VERSION);
/bind-9.6-ESV-R11/bin/tests/
H A Dlog_test.c43 progname, isc_result_totext(result)); \
48 const char *progname, *syslog_file, *message; local
59 progname = strrchr(*argv, '/');
60 if (progname != NULL)
61 progname++;
63 progname = *argv;
84 "or > 0\n", progname,
91 fprintf(stderr, usage, progname);
101 fprintf(stderr, usage, progname);
113 isc_log_opensyslog(progname, LOG_PI
[all...]
H A Drbt_test.c33 char *progname; variable
268 progname = strrchr(*argv, '/');
269 if (progname != NULL)
270 progname++;
272 progname = *argv;
287 printf("Usage: %s [-m]\n", progname);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzkt-soaserial.c53 static const char *progname; variable
192 fprintf (stderr, "usage: %s {-s serial | signed_zonefile [...]}\n", progname);
204 progname = *argv;
H A Ddomaincmp.c305 const char *progname; variable
314 progname = *argv;
H A Dsoaserial.c246 const char *progname; variable
253 progname = *argv;
H A Dtcap.c292 static const char *progname; variable
303 progname = *argv;
H A Dzfparse.c63 extern const char *progname;
260 const char *progname; variable
268 progname = *argv;
H A Dzkt-conf.c66 const char *progname; variable
112 progname = *argv;
113 if ( (p = strrchr (progname, '/')) )
114 progname = ++p;
115 view = getnameappendix (progname, "zkt-conf");
199 progname, ZKT_VERSION, BIND_VERSION);
314 fprintf (stderr, "%s version %s\n", progname, ZKT_VERSION);
318 fprintf (stderr, "usage: %s -h\n", progname);
319 fprintf (stderr, "usage: %s [-V view] [-w|-t] -d [-O <optstr>]\n", progname);
320 fprintf (stderr, "usage: %s [-V view] [-w|-t] [-s] [-c config] [-O <optstr>]\n", progname);
[all...]
H A Dlog.c254 int lg_open (const char *progname, const char *facility, const char *syslevel, const char *path, const char *file, const char *filelevel) argument
258 dbg_val6 ("lg_open (%s, %s, %s, %s, %s, %s)\n", progname, facility, syslevel, path, file, filelevel);
267 dbg_val2 ("lg_open: openlog (%s, LOG_NDELAY, %d)\n", progname, lg_str2syslog (facility));
268 openlog (progname, LOG_NDELAY, lg_str2syslog (facility));
274 lg_progname = progname;
438 const char *progname; variable
446 progname = *argv;
456 if ( (err = lg_open (progname,
H A Dncparse.c311 char *progname; variable
317 progname = argv[0];
H A Dzkt-ls.c69 const char *progname; variable
153 progname = *argv;
154 if ( (p = strrchr (progname, '/')) )
155 progname = ++p;
156 view = getnameappendix (progname, "zkt-ls");
326 sopt_usage ("\tusage: %s [-adefhkLprtzC] [-c config] [file|dir ...]\n", progname);
329 sopt_usage ("\tusage: %s -K [-dhkrz] [-c config] [file|dir ...]\n", progname);
330 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname);
333 sopt_usage ("\tusage: %s -T [-dhrz] [-c config] [file|dir ...]\n", progname);
334 lopt_usage ("\tusage: %s --list-trustedkeys [-dhzr] [-c config] [file|dir ...]\n", progname);
[all...]
H A Ddnssec-zkt.c68 const char *progname; variable
164 progname = *argv;
165 if ( (p = strrchr (progname, '/')) )
166 progname = ++p;
167 view = getnameappendix (progname, "dnssec-zkt");
414 sopt_usage ("\tusage: %s -Z\n", progname);
415 lopt_usage ("\tusage: %s --zone-config\n", progname);
418 sopt_usage ("\tusage: %s [-dhatkzpr] [-c config] [file|dir ...]\n", progname);
421 sopt_usage ("\tusage: %s -K [-dhkzr] [-c config] [file|dir ...]\n", progname);
422 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname);
[all...]
H A Dzkt-keyman.c68 const char *progname; variable
149 progname = *argv;
150 if ( (p = strrchr (progname, '/')) )
151 progname = ++p;
152 view = getnameappendix (progname, "dnssec-zkt");
345 sopt_usage ("\tusage: %s -C <name> [-k] [-dpr] [-c config] [dir ...]\n", progname);
346 lopt_usage ("\tusage: %s --create=<name> [-k] [-dpr] [-c config] [dir ...]\n", progname);
352 sopt_usage ("\tusage: %s -P|-A|-D <keyspec> [-dr] [-c config] [dir ...]\n", progname);
353 lopt_usage ("\tusage: %s --published=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
354 lopt_usage ("\tusage: %s --active=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
[all...]
H A Dmisc.c62 extern const char *progname;
65 ** getnameappendix (progname, basename)
66 ** return a pointer to the substring in progname subsequent
69 const char *getnameappendix (const char *progname, const char *basename) argument
74 assert (progname != NULL);
77 if ( (p = strrchr (progname, '/')) != NULL )
80 p = progname;
713 if ( progname )
714 fprintf (stderr, "%s: ", progname);
740 fprintf (stdout, "%s: ", progname);
1027 const char *progname; variable
1038 const char *progname; variable
[all...]
H A Dzconf.c953 const char *progname; variable
961 progname = *argv;
H A Dzkt-signer.c113 const char *progname; variable
146 progname = *argv;
147 if ( (p = strrchr (progname, '/')) )
148 progname = ++p;
150 if ( strncmp (progname, "dnssec-signer", 13) == 0 )
153 viewname = getnameappendix (progname, "dnssec-signer");
156 viewname = getnameappendix (progname, "zkt-signer");
254 if ( lg_open (progname, config->syslogfacility, config->sysloglevel, config->zonedir, logfile, config->loglevel) < -1 )
349 fprintf (stderr, "%s version %s compiled for BIND %d\n", progname, ZKT_VERSION, BIND_VERSION);
353 fprintf (stderr, "usage: %s [-L] [-V view] [-c file] [-O optstr] ", progname);
[all...]
/bind-9.6-ESV-R11/bin/named/win32/
H A Dos.c79 version_check(const char *progname) { argument
85 NTReportError(progname, version_error);
91 setup_syslog(const char *progname) { argument
99 openlog(progname, options, LOG_DAEMON);
103 ns_os_init(const char *progname) { argument
105 setup_syslog(progname);
116 version_check(progname);
/bind-9.6-ESV-R11/bin/rndc/
H A Drndc-confgen.c65 const char *progname; variable
90 progname, keydef, DEFAULT_KEYLENGTH);
159 progname = program;
H A Drndc.c64 const char *progname; variable
149 progname, version);
229 progname, command, errormsg);
233 progname, isc_result_totext(result));
240 progname, isc_result_totext(result));
692 progname = program;
789 DO("setting log tag", isc_log_settag(logconfig, progname));
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c469 isc_file_progname(const char *filename, char *progname, size_t namelen) { argument
475 REQUIRE(progname != NULL);
493 strcpy(progname, s);
504 strncpy(progname, s, len);
505 progname[len] = '\0';
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dcheck.c199 update_success_from_status(const char *progname, argument
210 fprintf(stderr, "%s failed with exit code %d\n", progname,
215 fprintf(stderr, "%s failed due to signal %d%s\n", progname,
220 fprintf(stderr, "%s failed due to unknown reason\n", progname);
/bind-9.6-ESV-R11/bin/named/unix/
H A Dos.c367 setup_syslog(const char *progname) { argument
374 openlog(isc_file_basename(progname), options, ISC_FACILITY);
378 ns_os_init(const char *progname) { argument
379 setup_syslog(progname);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtp_main.c58 static const char *progname = NULL; variable
124 fprintf(stderr, "%s: ERROR: %s\n", progname, buf);
128 progname);
135 fprintf(stderr, "%s: WARNING: %s\n", progname, message);
463 err = atf_fs_path_append_fmt(&exe, "%s", progname);
596 progname = strrchr(argv[0], '/');
597 if (progname == NULL)
598 progname = argv[0];
600 progname++;
605 if (strncmp(progname, "l
[all...]
/bind-9.6-ESV-R11/bin/tests/rbt/
H A Dt_rbt.c40 char *progname; variable

Completed in 77 milliseconds

12