Lines Matching defs:op
63 char *op, /* Operation to test */
78 op = NULL;
101 else if (!op)
102 op = argv[i];
111 if (!op ||
112 (!strcmp(op, "print-job") && (!dest || !opargs)) ||
113 (!strcmp(op, "remove-job") && (!dest || !opargs)) ||
114 (strcmp(op, "print-job") && strcmp(op, "print-waiting") &&
115 strcmp(op, "remove-job") && strcmp(op, "status-long") &&
116 strcmp(op, "status-short")))
118 printf("op=\"%s\", dest=\"%s\", opargs=%p\n", op, dest, opargs);
169 if (!strcmp(op, "print-job"))
171 else if (!strcmp(op, "print-waiting"))
173 else if (!strcmp(op, "remove-job"))
175 else if (!strcmp(op, "status-long"))
177 else if (!strcmp(op, "status-short"))
181 printf("Unknown operation \"%s\"!\n", op);