Home | History | Annotate | Download | only in rpc.pcnfsd

Lines Matching defs:printer

26 char *printer;
32 fprintf(stderr, "usage: %s server host printer user password [transport]\n",
39 printer = argv[3];
64 test_v2_init(host_name, printer);
66 test_v2_start(host_name, printer, user_name, "foo", "foo");
68 test_v2_start(host_name, printer, user_name, "bar", "bar");
70 test_v2_start(host_name, printer, user_name, "bletch", "gack");
72 test_v2_queue(printer, user_name, FALSE);
75 test_v2_cancel(host_name, printer, "nosuchuser", last_id);
77 test_v2_cancel(host_name, printer, user_name, last_id);
80 test_v2_cancel(host_name, printer, user_name, "99999");
81 bad("Cancelling job on invalid printer");
84 test_v2_queue(printer, user_name, TRUE);
85 bad("Checking queue on invalid printer");
88 test_v2_stat(printer);
89 bad("Checking status of invalid printer");
198 test_v2_init(char *host_name, char *printer)
204 a.pn = printer;
226 test_v2_start(char *host_name, char *printer, char *user_name, char *tag1, char *tag2)
250 a.pn = printer;
278 test_v2_cancel(char *host_name, char *printer, char *user_name, char *id)
285 a.pn = printer;
290 printf("\ninvoking pr_cancel_2 for job %s on printer %s\n",
291 id, printer);
364 test_v2_queue(char *printer, char *user_name, int private)
370 a.pn = printer;
436 test_v2_stat(char *printer)
443 a.pn = printer;