Home | History | Annotate | Download | only in ntpq

Lines Matching refs:xcmd

201 static	int	findcmd		(const char *, struct xcmd *,
202 struct xcmd *, struct xcmd **);
207 static void printusage (struct xcmd *, FILE *);
266 struct xcmd builtins[] = {
466 extern struct xcmd opcmds[];
1641 struct xcmd *xcmd;
1662 i = findcmd(tokens[0], builtins, opcmds, &xcmd);
1684 for (i = 0; i < MAXARGS && xcmd->arg[i] != NO; i++) {
1686 if (!(xcmd->arg[i] & OPT)) {
1687 printusage(xcmd, stderr);
1692 if ((xcmd->arg[i] & OPT) && (*tokens[i+1] == '>'))
1694 if (!getarg(tokens[i+1], (int)xcmd->arg[i], &pcmd.argval[i]))
1732 (xcmd->handler)(&pcmd, current_output);
1742 (xcmd->handler)(&pcmd, current_output);
1913 struct xcmd * clist1,
1914 struct xcmd * clist2,
1915 struct xcmd ** cmd
1918 struct xcmd *cl;
1921 struct xcmd *nearmatch = NULL;
1922 struct xcmd *clist;
2369 struct xcmd *xcp = NULL; /* quiet warning */
2445 struct xcmd *xcp,