Searched refs:progname (Results 1 - 25 of 44) sorted by relevance

12

/bind-9.6-ESV-R11/bin/rndc/
H A Dutil.c33 extern const char *progname;
51 fprintf(stderr, "%s: ", progname);
/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);
H A Dloc.h77 extern char *progname;
/bind-9.6-ESV-R11/contrib/zkt/examples/flat/
H A Ddist.sh35 progname=$0
38 echo "usage: $progname distribute|reload <domain> <path_to_zonefile> [<viewname>]" 1>&2
/bind-9.6-ESV-R11/bin/named/unix/include/named/
H A Dos.h28 ns_os_init(const char *progname);
/bind-9.6-ESV-R11/bin/named/win32/include/named/
H A Dos.h26 ns_os_init(const char *progname);
/bind-9.6-ESV-R11/contrib/zkt/
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-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 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 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 Dzkt-soaserial.c53 static const char *progname; variable
192 fprintf (stderr, "usage: %s {-s serial | signed_zonefile [...]}\n", progname);
204 progname = *argv;
H A Dlog.h71 extern int lg_open (const char *progname, const char *facility, const char *syslevel, const char *path, const char *file, const char *filelevel);
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 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 Dzfparse.c63 extern const char *progname;
260 const char *progname; variable
268 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...]
H A Ddomaincmp.c305 const char *progname; variable
314 progname = *argv;
H A Dsoaserial.c246 const char *progname; variable
253 progname = *argv;
H A Dmisc.h47 extern const char *getnameappendix (const char *progname, const char *basename);
/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/idn/idnkit-1.0-src/
H A Dltconfig167 progname=`$echo "X$0" | $Xsed -e 's%^.*/%%'`
178 help="Try \`$progname --help' for more information."
241 Usage: $progname [OPTION]... [HOST [LTMAIN]]
272 echo "$progname: enabling shell trace mode"
306 echo "$progname: unrecognized option \`$option'" 1>&2
317 # echo "$progname: warning \`$option' is not a valid host type" 1>&2
321 echo "$progname: too many arguments" 1>&2
329 echo "$progname: you must specify a LTMAIN file" 1>&2
335 echo "$progname: \`$ltmain' does not exist" 1>&2
409 echo "$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/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/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);

Completed in 68 milliseconds

12