Home | History | Annotate | Download | only in ntpq

Lines Matching defs:COMMAND

61 /* we use COMMAND as an autogen keyword */
62 #ifdef COMMAND
63 # undef COMMAND
184 * Built in command handler declarations
268 { "command", "", "", "" },
271 { "command", "", "", "" },
400 * For commands typed on the command line (with the -c option)
403 size_t defcmds = 0; /* Options on the command line are 'defined'! */
431 * Jump buffer for longjumping back to the command level.
464 * Command table imported from ntpdc_ops.c
651 if (defcmds == 0) { /* No command line commands, so go interactive */
1543 fprintf(stderr, "***No host open, use `host' command\n");
1610 * abortcmd - catch interrupts and abort the current command
1630 * docmd - decode the command line and execute a command
1645 * Tokenize the command line. If nothing on it, return.
1652 * If command prefixed by '~', then quiet output
1660 * Find the appropriate command description.
1664 (void) fprintf(stderr, "***Command `%s' unknown\n",
1668 (void) fprintf(stderr, "***Command `%s' ambiguous\n",
1736 fputs("\n >>> command aborted <<<\n", stderr);
1752 * tokenize - turn a command line into tokens
1908 * findcmd - find a command in a command description table
2357 * Finally, the built in command handlers
2361 * help - tell about commands, or details of a particular command
2411 "Command `%s' is unknown\n", cmd);
2415 "Command `%s' is ambiguous\n", cmd);
2441 * printusage - print usage information for a command
3881 * on the command line. This routine replaces the default handler for