Lines Matching defs:svc
90 papi_service_t svc = NULL;
94 status = papiServiceCreate(&svc, NULL, NULL, NULL, cli_auth_callback,
99 status = papiPrinterQuery(svc, DEFAULT_DEST, req, NULL, &p);
108 papiServiceDestroy(svc);
117 papi_service_t svc = NULL;
125 status = papiServiceCreate(&svc, name, NULL, NULL, cli_auth_callback,
131 papiServiceDestroy(svc);
137 get_device_uri(papi_service_t svc, char *name)
144 status = papiPrinterQuery(svc, name, keys, NULL, &p);
200 report_device(papi_service_t svc, char *name, papi_printer_t printer,
229 device = get_device_uri(svc, name);
252 report_accepting(papi_service_t svc, char *name, papi_printer_t printer,
300 report_class(papi_service_t svc, char *name, papi_printer_t printer,
374 report_printer(papi_service_t svc, char *name, papi_printer_t printer,
410 status = papiPrinterListJobs(svc, name, NULL,
682 papi_service_t svc = NULL;
699 status = papiServiceCreate(&svc, name, NULL, NULL,
710 verbose_papi_message(svc, status));
711 papiServiceDestroy(svc);
717 char **interest = interest_list(svc);
745 status = papiPrinterQuery(svc, name, keys,
750 name, verbose_papi_message(svc, status));
751 papiServiceDestroy(svc);
757 result += report(svc, name, printer, verbose,
763 papiServiceDestroy(svc);
1033 papi_service_t svc = NULL;
1041 status = papiServiceCreate(&svc, printer, NULL, NULL,
1058 status = papiServiceCreate(&svc, printer, NULL, NULL,
1065 verbose_papi_message(svc, status));
1071 char **interest = interest_list(svc);
1083 status = papiPrinterListJobs(svc, printer, NULL,
1088 verbose_papi_message(svc, status));
1089 papiServiceDestroy(svc);
1113 id = job_to_be_queried(svc, printer, id);
1116 status = papiJobQuery(svc, printer, id,
1128 verbose_papi_message(svc, status));
1129 papiServiceDestroy(svc);
1150 papiServiceDestroy(svc);
1214 papi_service_t svc = NULL;
1217 status = papiServiceCreate(&svc, name, NULL, NULL, cli_auth_callback,
1220 papiServiceDestroy(svc);
1224 attrs = papiServiceGetAttributeList(svc);
1235 papiServiceDestroy(svc);