/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 183 } papi_status_t; typedef 228 extern papi_status_t papiServiceCreate(papi_service_t *handle, 236 extern papi_status_t papiServiceSetUserName(papi_service_t handle, 238 extern papi_status_t papiServiceSetPassword(papi_service_t handle, 240 extern papi_status_t papiServiceSetEncryption(papi_service_t handle, 242 extern papi_status_t papiServiceSetAuthCB(papi_service_t handle, 245 extern papi_status_t papiServiceSetAppData(papi_service_t handle, 256 extern papi_status_t papiAttributeListAddValue(papi_attribute_t ***attrs, 260 extern papi_status_t papiAttributeListAddString(papi_attribute_t ***attrs, 262 extern papi_status_t papiAttributeListAddInteger(papi_attribute_t ***attrs, [all …]
|
H A D | attribute.c | 123 papi_status_t status = PAPI_OK; in collection_dup() 213 static papi_status_t 234 papi_status_t 239 papi_status_t result; in papiAttributeListAddValue() 294 papi_status_t 304 papi_status_t 314 papi_status_t 324 papi_status_t 335 papi_status_t 348 papi_status_t [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | job.c | 133 static papi_status_t 139 papi_status_t result = PAPI_INTERNAL_ERROR; in _papi_job_submit_reference_or_validate() 142 papi_status_t (*f)(); in _papi_job_submit_reference_or_validate() 155 f = (papi_status_t (*)())psm_sym(j->svc, function); in _papi_job_submit_reference_or_validate() 163 papi_status_t 173 papi_status_t 183 papi_status_t 193 papi_status_t 198 papi_status_t result = PAPI_INTERNAL_ERROR; in papiJobStreamOpen() 200 papi_status_t (*f)(); in papiJobStreamOpen() [all …]
|
H A D | printer.c | 67 static papi_status_t 71 papi_status_t result = PAPI_INTERNAL_ERROR; in printers_from_service() 73 papi_status_t (*f)(); in printers_from_service() 82 f = (papi_status_t (*)())psm_sym(svc, "papiPrintersList"); in printers_from_service() 115 static papi_status_t 118 papi_status_t result; in printer_from_service() 169 static papi_status_t 173 papi_status_t result = PAPI_INTERNAL_ERROR; in printers_from_name_service() 208 papi_status_t 212 papi_status_t result = PAPI_INTERNAL_ERROR; in papiPrintersList() [all …]
|
H A D | service.c | 96 static papi_status_t 99 papi_status_t result; in service_load() 149 static papi_status_t 152 papi_status_t result = PAPI_OK; in service_send_peer() 156 papi_status_t (*f)(); in service_send_peer() 158 f = (papi_status_t (*)())psm_sym(svc, "papiServiceSetPeer"); in service_send_peer() 167 papi_status_t 170 papi_status_t result = PAPI_NOT_POSSIBLE; in service_connect() 183 papi_status_t (*f)(); in service_connect() 188 f = (papi_status_t (*)())psm_sym(svc, "papiServiceCreate"); in service_connect() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | papi_impl.h | 85 extern papi_status_t addLPString(papi_attribute_t ***list, 87 extern papi_status_t papiAttributeListAddLPStrings(papi_attribute_t ***list, 94 extern papi_status_t lpsched_printer_configuration_to_attributes( 96 extern papi_status_t lpsched_class_configuration_to_attributes(service_t *svc, 98 extern papi_status_t class_status_to_attributes(printer_t *p, char *printer, 100 extern papi_status_t lpsched_reject_printer(papi_service_t svc, 102 extern papi_status_t lpsched_accept_printer(papi_service_t svc, 104 extern papi_status_t lpsched_disable_printer(papi_service_t svc, 106 extern papi_status_t lpsched_enable_printer(papi_service_t svc, 108 extern papi_status_t lpsched_status_to_papi_status(int status); [all …]
|
H A D | lpsched-msgs.c | 118 papi_status_t 192 papi_status_t 195 papi_status_t result = PAPI_OK; in lpsched_alloc_files() 215 papi_status_t 219 papi_status_t result = PAPI_OK; in lpsched_commit_job() 239 papi_status_t 243 papi_status_t result = PAPI_OK; in lpsched_start_change() 270 papi_status_t 273 papi_status_t result = PAPI_OK; in lpsched_end_change() 300 papi_status_t [all …]
|
H A D | printer.c | 59 papi_status_t 139 papi_status_t 145 papi_status_t pst; in papiPrinterQuery() 228 papi_status_t 232 papi_status_t status; in papiPrinterAdd() 268 papi_status_t 272 papi_status_t status; in papiPrinterModify() 306 papi_status_t 309 papi_status_t result; in papiPrinterRemove() 329 papi_status_t [all …]
|
H A D | job.c | 39 papi_status_t 47 static papi_status_t psm_modifyAttrsFile(papi_attribute_t **attrs, char *file); 48 static papi_status_t psm_modifyAttrsList(char *file, papi_attribute_t **attrs, 56 papi_status_t status; in check_job_id() 205 static papi_status_t 208 papi_status_t result = PAPI_NOT_AUTHORIZED; /* assume the worst */ in authorized() 222 papi_status_t s; in authorized() 303 static papi_status_t 344 static papi_status_t 348 papi_status_t result = PAPI_OK; in psm_copy_attrsToFile() [all …]
|
H A D | service.c | 35 papi_status_t 94 papi_status_t 97 papi_status_t result = PAPI_OK; in papiServiceSetPeer() 122 papi_status_t 134 papi_status_t 146 papi_status_t 159 papi_status_t 173 papi_status_t
|
H A D | lpsched-misc.c | 35 papi_status_t 39 papi_status_t result = PAPI_BAD_ARGUMENT; in papiAttributeListAddLPString() 47 papi_status_t 51 papi_status_t result = PAPI_OK; in papiAttributeListAddLPStrings() 83 papi_status_t status; in papiAttributeListGetLPStrings()
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | printer.c | 50 papi_status_t 56 papi_status_t status; in papiPrinterQuery() 96 papi_status_t 99 papi_status_t status; in papiPrinterPurgeJobs() 111 papi_status_t 116 papi_status_t status; in papiPrinterListJobs() 164 papi_status_t 168 papi_status_t status; in papiPrinterDisable() 178 papi_status_t 182 papi_status_t status; in papiPrinterEnable() [all …]
|
H A D | papi_impl.h | 75 extern papi_status_t service_fill_in(service_t *svc, char *name); 86 extern papi_status_t lpd_purge_jobs(service_t *svc, job_t ***jobs); 87 extern papi_status_t lpd_cancel_job(service_t *svc, int job_id); 89 extern papi_status_t lpd_submit_job(service_t *svc, char *metadata, 91 extern papi_status_t lpd_job_add_attributes(service_t *svc, 95 extern papi_status_t lpd_job_add_files(service_t *svc, 100 extern papi_status_t lpd_find_printer_info(service_t *svc, printer_t **result); 101 extern papi_status_t lpd_find_job_info(service_t *svc, int job_id, job_t **job); 102 extern papi_status_t lpd_find_jobs_info(service_t *svc, job_t ***jobs);
|
H A D | job.c | 45 papi_status_t 49 papi_status_t status = PAPI_OK; in papiJobSubmit() 96 papi_status_t 105 papi_status_t 110 papi_status_t status = PAPI_OK; in papiJobStreamOpen() 168 papi_status_t 185 papi_status_t 188 papi_status_t status = PAPI_INTERNAL_ERROR; in papiJobStreamClose() 222 papi_status_t 226 papi_status_t status = PAPI_OK; in papiJobQuery() [all …]
|
H A D | service.c | 37 papi_status_t 40 papi_status_t status = PAPI_OK; in service_fill_in() 70 papi_status_t 76 papi_status_t status; in papiServiceCreate() 118 papi_status_t 130 papi_status_t 142 papi_status_t 155 papi_status_t 169 papi_status_t
|
H A D | lpd-job.c | 79 static papi_status_t 112 static papi_status_t 126 static papi_status_t 140 static papi_status_t 153 static papi_status_t 157 papi_status_t status = PAPI_OK; in lpd_add_rfc1179_attributes() 349 static papi_status_t 440 papi_status_t 455 papi_status_t 482 papi_status_t [all …]
|
H A D | lpd-cancel.c | 37 papi_status_t 40 papi_status_t status = PAPI_INTERNAL_ERROR; in lpd_cancel_job() 73 papi_status_t 76 papi_status_t status = PAPI_INTERNAL_ERROR; in lpd_purge_jobs()
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | job.c | 167 static papi_status_t 171 papi_status_t result = PAPI_INTERNAL_ERROR; in send_document_uri() 198 papi_status_t 205 papi_status_t result = PAPI_INTERNAL_ERROR; in internal_job_submit() 334 papi_status_t 343 papi_status_t 352 papi_status_t 361 papi_status_t 366 papi_status_t result = PAPI_INTERNAL_ERROR; in papiJobStreamOpen() 393 papi_status_t [all …]
|
H A D | printer.c | 79 papi_status_t 83 papi_status_t status, result = PAPI_INTERNAL_ERROR; in papiPrintersList() 133 papi_status_t 139 papi_status_t result = PAPI_INTERNAL_ERROR; in papiPrinterQuery() 182 static papi_status_t 186 papi_status_t result = PAPI_INTERNAL_ERROR; in _printer_enable_disable_pause_resume_delete() 225 papi_status_t 232 papi_status_t 239 papi_status_t 246 papi_status_t [all …]
|
H A D | papi_impl.h | 83 extern papi_status_t ipp_send_request(service_t *svc, 86 extern papi_status_t ipp_send_request_with_file(service_t *svc, 89 extern papi_status_t ipp_send_initial_request_block(service_t *svc, 91 extern papi_status_t ipp_status_info(service_t *svc, 98 extern papi_status_t ipp_to_papi_status(uint16_t status); 99 extern papi_status_t http_to_papi_status(http_status_t status); 103 extern papi_status_t service_connect(service_t *svc, char *service_name);
|
H A D | service.c | 58 papi_status_t 61 papi_status_t result = PAPI_OK; in service_connect() 118 papi_status_t 124 papi_status_t result = PAPI_NOT_POSSIBLE; in papiServiceCreate() 186 papi_status_t 189 papi_status_t result = PAPI_OK; in papiServiceSetUserName() 205 papi_status_t 208 papi_status_t result = PAPI_OK; in papiServiceSetPassword() 224 papi_status_t 228 papi_status_t result = PAPI_OK; in papiServiceSetEncryption() [all …]
|
H A D | ipp-support.c | 47 papi_status_t 65 return ((papi_status_t)status); in http_to_papi_status() 69 papi_status_t 213 static papi_status_t 216 papi_status_t result = PAPI_INTERNAL_ERROR; in _default_destination() 350 papi_status_t 354 papi_status_t result = PAPI_OK; in ipp_send_initial_request_block() 493 papi_status_t 514 papi_status_t 518 papi_status_t result = PAPI_OK; in ipp_send_request_with_file() [all …]
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | ipp-listener.c | 47 typedef papi_status_t (ipp_handler_t)(papi_service_t svc, 83 static papi_status_t 93 return ((papi_status_t)result); in default_handler() 181 papi_status_t status; in ipp_operation_handler() 247 static papi_status_t 250 papi_status_t result = PAPI_OK; in ipp_configure_required_operations() 263 static papi_status_t 266 papi_status_t result = PAPI_OK; in ipp_configure_all_operations() 276 papi_status_t 279 papi_status_t result = PAPI_OPERATION_NOT_SUPPORTED; in ipp_configure_operation() [all …]
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 61 static papi_status_t 114 static papi_status_t 117 papi_status_t status; in ipp_write_attribute() 316 static papi_status_t 320 papi_status_t result = PAPI_OK; in ipp_write_attribute_group() 334 static papi_status_t 338 papi_status_t result = PAPI_OK; in ipp_write_attribute_groups() 342 papi_status_t status; in ipp_write_attribute_groups() 364 static papi_status_t 400 papi_status_t [all …]
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpc.c | 55 papi_status_t status; in lpc_status() 111 papi_status_t status; in lpc_abort() 134 papi_status_t status; in lpc_clean() 166 papi_status_t status; in lpc_disable() 187 papi_status_t status; in lpc_enable() 219 papi_status_t status; in lpc_start() 240 papi_status_t status; in lpc_stop() 261 papi_status_t status; in lpc_topq() 401 papi_status_t status = PAPI_OK; in process_one() 427 papi_status_t status; in process_all()
|