/titanic_41/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 48 typedef void *papi_service_t; typedef 230 extern papi_status_t papiServiceCreate(papi_service_t *handle, 233 int (*authCB)(papi_service_t svc, 237 extern void papiServiceDestroy(papi_service_t handle); 238 extern papi_status_t papiServiceSetUserName(papi_service_t handle, 240 extern papi_status_t papiServiceSetPassword(papi_service_t handle, 242 extern papi_status_t papiServiceSetEncryption(papi_service_t handle, 244 extern papi_status_t papiServiceSetAuthCB(papi_service_t handle, 245 int (*authCB)(papi_service_t s, 247 extern papi_status_t papiServiceSetAppData(papi_service_t handle, [all …]
|
/titanic_41/usr/src/cmd/lp/lib/papi/ |
H A D | papi_impl.h | 57 int (*authCB)(papi_service_t svc, void *app_data); 102 extern papi_status_t lpsched_reject_printer(papi_service_t svc, 104 extern papi_status_t lpsched_accept_printer(papi_service_t svc, 106 extern papi_status_t lpsched_disable_printer(papi_service_t svc, 108 extern papi_status_t lpsched_enable_printer(papi_service_t svc, 111 extern papi_status_t job_attributes_to_lpsched_request(papi_service_t svc, 113 extern papi_status_t lpsched_alloc_files(papi_service_t svc, int number, 115 extern papi_status_t lpsched_commit_job(papi_service_t svc, char *job, 117 extern papi_status_t lpsched_start_change(papi_service_t svc, 119 extern papi_status_t lpsched_end_change(papi_service_t svc, [all …]
|
H A D | service.c | 41 papiServiceCreate(papi_service_t *handle, char *service_name, in papiServiceCreate() 43 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() 81 papiServiceDestroy(papi_service_t handle) in papiServiceDestroy() 100 papiServiceSetPeer(papi_service_t handle, int peerfd) in papiServiceSetPeer() 128 papiServiceSetUserName(papi_service_t handle, char *user_name) in papiServiceSetUserName() 140 papiServiceSetPassword(papi_service_t handle, char *password) in papiServiceSetPassword() 152 papiServiceSetEncryption(papi_service_t handle, in papiServiceSetEncryption() 165 papiServiceSetAuthCB(papi_service_t handle, in papiServiceSetAuthCB() 166 int (*authCB)(papi_service_t svc, void *app_data)) in papiServiceSetAuthCB() 173 svc->authCB = (int (*)(papi_service_t svc, void *app_data))authCB; in papiServiceSetAuthCB() [all …]
|
H A D | lpsched-msgs.c | 193 lpsched_alloc_files(papi_service_t svc, int number, char **prefix) in lpsched_alloc_files() 216 lpsched_commit_job(papi_service_t svc, char *job, char **tmp) in lpsched_commit_job() 240 lpsched_start_change(papi_service_t svc, char *printer, int32_t job_id, in lpsched_start_change() 271 lpsched_end_change(papi_service_t svc, char *printer, int32_t job_id) in lpsched_end_change() 301 lpsched_accept_printer(papi_service_t svc, char *printer) in lpsched_accept_printer() 327 lpsched_reject_printer(papi_service_t svc, char *printer, char *message) in lpsched_reject_printer() 356 lpsched_enable_printer(papi_service_t svc, char *printer) in lpsched_enable_printer() 382 lpsched_disable_printer(papi_service_t svc, char *printer, char *message) in lpsched_disable_printer() 411 lpsched_load_unload_dest(papi_service_t handle, char *dest, int type) in lpsched_load_unload_dest() 444 lpsched_remove_class(papi_service_t handle, char *dest) in lpsched_remove_class() [all …]
|
H A D | printer.c | 60 papiPrintersList(papi_service_t handle, char **requested_attrs, in papiPrintersList() 140 papiPrinterQuery(papi_service_t handle, char *name, in papiPrinterQuery() 229 papiPrinterAdd(papi_service_t handle, char *name, in papiPrinterAdd() 269 papiPrinterModify(papi_service_t handle, char *name, in papiPrinterModify() 307 papiPrinterRemove(papi_service_t handle, char *name) in papiPrinterRemove() 330 papiPrinterDisable(papi_service_t handle, char *name, char *message) in papiPrinterDisable() 343 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() 356 papiPrinterPause(papi_service_t handle, char *name, char *message) in papiPrinterPause() 369 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() 382 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) in papiPrinterPurgeJobs() [all …]
|
H A D | job.c | 53 check_job_id(papi_service_t svc, char *printer, int32_t id) in check_job_id() 176 create_request(papi_service_t svc, char *printer, papi_attribute_t **attributes) in create_request() 535 papiJobSubmit(papi_service_t handle, char *printer, in papiJobSubmit() 654 papiJobSubmitByReference(papi_service_t handle, char *printer, in papiJobSubmitByReference() 782 papiJobValidate(papi_service_t handle, char *printer, in papiJobValidate() 813 papiJobStreamOpen(papi_service_t handle, char *printer, in papiJobStreamOpen() 880 papiJobStreamWrite(papi_service_t handle, in papiJobStreamWrite() 895 papiJobStreamClose(papi_service_t handle, in papiJobStreamClose() 935 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() 990 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, in papiJobMove() [all …]
|
/titanic_41/usr/src/lib/print/libpapi-lpd/common/ |
H A D | service.c | 74 papiServiceCreate(papi_service_t *handle, char *service_name, in papiServiceCreate() 76 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() 104 papiServiceDestroy(papi_service_t handle) in papiServiceDestroy() 122 papiServiceSetUserName(papi_service_t handle, char *user_name) in papiServiceSetUserName() 134 papiServiceSetPassword(papi_service_t handle, char *password) in papiServiceSetPassword() 146 papiServiceSetEncryption(papi_service_t handle, in papiServiceSetEncryption() 159 papiServiceSetAuthCB(papi_service_t handle, in papiServiceSetAuthCB() 160 int (*authCB)(papi_service_t svc, void *app_data)) in papiServiceSetAuthCB() 167 svc->authCB = (int (*)(papi_service_t svc, void *))authCB; in papiServiceSetAuthCB() 173 papiServiceSetAppData(papi_service_t handle, void *app_data) in papiServiceSetAppData() [all …]
|
H A D | printer.c | 51 papiPrinterQuery(papi_service_t handle, char *name, in papiPrinterQuery() 97 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) in papiPrinterPurgeJobs() 112 papiPrinterListJobs(papi_service_t handle, char *name, in papiPrinterListJobs() 165 papiPrinterDisable(papi_service_t handle, char *name, char *message) in papiPrinterDisable() 179 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() 194 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() 209 papiPrinterPause(papi_service_t handle, char *name, char *message) in papiPrinterPause()
|
H A D | job.c | 46 papiJobSubmit(papi_service_t handle, char *name, papi_attribute_t **attributes, in papiJobSubmit() 97 papiJobSubmitByReference(papi_service_t handle, char *name, in papiJobSubmitByReference() 106 papiJobStreamOpen(papi_service_t handle, char *name, in papiJobStreamOpen() 169 papiJobStreamWrite(papi_service_t handle, papi_stream_t stream, in papiJobStreamWrite() 186 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) in papiJobStreamClose() 223 papiJobQuery(papi_service_t handle, char *name, int32_t job_id, in papiJobQuery() 239 papiJobCancel(papi_service_t handle, char *name, int32_t job_id) in papiJobCancel()
|
/titanic_41/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | common.h | 42 extern char *verbose_papi_message(papi_service_t svc, papi_status_t status); 44 extern int berkeley_cancel_request(papi_service_t svc, FILE *fp, char *dest, 49 extern int berkeley_queue_report(papi_service_t svc, FILE *fp, char *dest, 52 extern papi_status_t jobSubmitSTDIN(papi_service_t svc, char *printer, 56 extern char **interest_list(papi_service_t svc); 62 extern int cli_auth_callback(papi_service_t svc, void *app_data); 64 extern int32_t job_to_be_queried(papi_service_t svc, char *printer, int32_t id);
|
H A D | lpc.c | 39 typedef int (cmd_handler_t)(papi_service_t, char **); 45 lpc_exit(papi_service_t svc, char **args) in lpc_exit() 53 lpc_status(papi_service_t svc, char **args) in lpc_status() 109 lpc_abort(papi_service_t svc, char **args) in lpc_abort() 132 lpc_clean(papi_service_t svc, char **args) in lpc_clean() 164 lpc_disable(papi_service_t svc, char **args) in lpc_disable() 185 lpc_enable(papi_service_t svc, char **args) in lpc_enable() 206 lpc_restart(papi_service_t svc, char **args) in lpc_restart() 217 lpc_start(papi_service_t svc, char **args) in lpc_start() 238 lpc_stop(papi_service_t svc, char **args) in lpc_stop() [all …]
|
H A D | common.c | 50 verbose_papi_message(papi_service_t svc, papi_status_t status) in verbose_papi_message() 258 cancel_job(papi_service_t svc, FILE *fp, char *printer, papi_job_t job, in cancel_job() 302 berkeley_queue_report(papi_service_t svc, FILE *fp, char *dest, int fmt, in berkeley_queue_report() 354 berkeley_cancel_request(papi_service_t svc, FILE *fp, char *dest, in berkeley_cancel_request() 438 jobSubmitSTDIN(papi_service_t svc, char *printer, char *prefetch, int len, in jobSubmitSTDIN() 500 all_list(papi_service_t svc) in all_list() 529 printers_list(papi_service_t svc) in printers_list() 557 interest_list(papi_service_t svc) in interest_list() 588 cli_auth_callback(papi_service_t svc, void *app_data) in cli_auth_callback() 619 job_to_be_queried(papi_service_t svc, char *printer, int32_t id) in job_to_be_queried()
|
H A D | disable.c | 58 cancel_active_job(papi_service_t svc, char *dest) in cancel_active_job() 91 papi_service_t svc = NULL; in main()
|
H A D | in.lpd.c | 130 parse_cf(papi_service_t svc, char *cf, char **files) in parse_cf() 370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, in submit_job() 406 receive_control_file(papi_service_t svc, FILE *ifp, FILE *ofp, int size) in receive_control_file() 489 berkeley_receive_files(papi_service_t svc, FILE *ifp, FILE *ofp, char *printer) in berkeley_receive_files() 552 berkeley_transfer_files(papi_service_t svc, FILE *ifp, FILE *ofp, in berkeley_transfer_files() 633 papi_service_t svc = NULL; in main()
|
H A D | lpstat.c | 90 papi_service_t svc = NULL; in lpstat_default_printer() 117 papi_service_t svc = NULL; in lpstat_service_status() 137 get_device_uri(papi_service_t svc, char *name) in get_device_uri() 200 report_device(papi_service_t svc, char *name, papi_printer_t printer, in report_device() 252 report_accepting(papi_service_t svc, char *name, papi_printer_t printer, in report_accepting() 300 report_class(papi_service_t svc, char *name, papi_printer_t printer, in report_class() 374 report_printer(papi_service_t svc, char *name, papi_printer_t printer, in report_printer() 676 printer_query(char *name, int (*report)(papi_service_t, char *, papi_printer_t, in printer_query() argument 682 papi_service_t svc = NULL; in printer_query() 1033 papi_service_t svc = NULL; in job_query() [all …]
|
H A D | lpmove.c | 54 move_job(papi_service_t svc, char *src, int32_t id, char *dest) in move_job() 97 papi_service_t svc = NULL; in main()
|
/titanic_41/usr/src/lib/print/libpapi-ipp/common/ |
H A D | service.c | 124 papiServiceCreate(papi_service_t *handle, char *service_name, in papiServiceCreate() 126 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() 167 papiServiceDestroy(papi_service_t handle) in papiServiceDestroy() 192 papiServiceSetUserName(papi_service_t handle, char *user_name) in papiServiceSetUserName() 211 papiServiceSetPassword(papi_service_t handle, char *password) in papiServiceSetPassword() 230 papiServiceSetEncryption(papi_service_t handle, in papiServiceSetEncryption() 248 papiServiceSetAuthCB(papi_service_t handle, in papiServiceSetAuthCB() 249 int (*authCB)(papi_service_t svc, void *app_data)) in papiServiceSetAuthCB() 265 papiServiceSetAppData(papi_service_t handle, void *app_data) in papiServiceSetAppData() 280 papiServiceGetServiceName(papi_service_t handle) in papiServiceGetServiceName() [all …]
|
H A D | printer.c | 82 papiPrintersList(papi_service_t handle, char **requested_attrs, in papiPrintersList() 136 papiPrinterQuery(papi_service_t handle, char *name, in papiPrinterQuery() 185 _printer_enable_disable_pause_resume_delete(papi_service_t handle, char *name, in _printer_enable_disable_pause_resume_delete() 228 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() 235 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() 242 papiPrinterPause(papi_service_t handle, char *name, char *message) in papiPrinterPause() 249 papiPrinterDisable(papi_service_t handle, char *name, char *message) in papiPrinterDisable() 261 papiPrinterAdd(papi_service_t handle, char *name, in papiPrinterAdd() 268 papiPrinterModify(papi_service_t handle, char *name, in papiPrinterModify() 310 papiPrinterRemove(papi_service_t handle, char *name) in papiPrinterRemove() [all …]
|
H A D | job.c | 199 internal_job_submit(papi_service_t handle, char *printer, in internal_job_submit() 335 papiJobSubmit(papi_service_t handle, char *printer, in papiJobSubmit() 344 papiJobSubmitByReference(papi_service_t handle, char *printer, in papiJobSubmitByReference() 353 papiJobValidate(papi_service_t handle, char *printer, in papiJobValidate() 362 papiJobStreamOpen(papi_service_t handle, char *printer, in papiJobStreamOpen() 394 papiJobStreamWrite(papi_service_t handle, in papiJobStreamWrite() 429 papiJobStreamClose(papi_service_t handle, in papiJobStreamClose() 473 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() 522 _job_cancel_hold_release_restart_promote(papi_service_t handle, in _job_cancel_hold_release_restart_promote() 552 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) in papiJobCancel() [all …]
|
/titanic_41/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | job.c | 136 _papi_job_submit_reference_or_validate(papi_service_t handle, char *printer, in _papi_job_submit_reference_or_validate() 166 papiJobSubmit(papi_service_t handle, char *printer, in papiJobSubmit() 176 papiJobSubmitByReference(papi_service_t handle, char *printer, in papiJobSubmitByReference() 186 papiJobValidate(papi_service_t handle, char *printer, in papiJobValidate() 196 papiJobStreamOpen(papi_service_t handle, char *printer, in papiJobStreamOpen() 219 papiJobStreamWrite(papi_service_t handle, in papiJobStreamWrite() 238 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) in papiJobStreamClose() 260 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() 287 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, in papiJobMove() 315 _papi_job_handle_printer_id(papi_service_t handle, in _papi_job_handle_printer_id() [all …]
|
H A D | service.c | 46 interposed_auth_callback(papi_service_t handle, void *app_data) in interposed_auth_callback() 218 papiServiceCreate(papi_service_t *handle, char *service_name, char *user_name, in papiServiceCreate() 220 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() 265 papiServiceDestroy(papi_service_t handle) in papiServiceDestroy() 296 papiServiceSetPeer(papi_service_t handle, int fd) in papiServiceSetPeer() 312 papiServiceSetUserName(papi_service_t handle, char *user_name) in papiServiceSetUserName() 334 papiServiceSetPassword(papi_service_t handle, char *password) in papiServiceSetPassword() 356 papiServiceSetEncryption(papi_service_t handle, papi_encryption_t encryption) in papiServiceSetEncryption() 376 papiServiceSetAuthCB(papi_service_t handle, in papiServiceSetAuthCB() 377 int (*authCB)(papi_service_t svc, void *app_data)) in papiServiceSetAuthCB() [all …]
|
H A D | printer.c | 121 papi_service_t p_svc = NULL; in printer_from_service() 134 result = papiServiceCreate((papi_service_t *)&p_svc, psm, svc->user, in printer_from_service() 211 papiPrintersList(papi_service_t handle, char **requested_attrs, in papiPrintersList() 233 papiPrinterQuery(papi_service_t handle, char *name, char **requested_attrs, in papiPrinterQuery() 270 _papi_printer_disable_or_pause(papi_service_t handle, char *name, char *message, in _papi_printer_disable_or_pause() 291 _papi_printer_enable_or_resume(papi_service_t handle, char *name, in _papi_printer_enable_or_resume() 312 papiPrinterDisable(papi_service_t handle, char *name, char *message) in papiPrinterDisable() 319 papiPrinterPause(papi_service_t handle, char *name, char *message) in papiPrinterPause() 326 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() 333 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() [all …]
|
/titanic_41/usr/src/lib/print/libipp-listener/common/ |
H A D | ipp-listener.c | 49 typedef papi_status_t (ipp_handler_t)(papi_service_t svc, 86 default_handler(papi_service_t svc, papi_attribute_t **request, in default_handler() 420 print_service_connect(papi_service_t *svc, papi_attribute_t **request, in print_service_connect() 494 papi_service_t svc = NULL; in ipp_process_request()
|
H A D | cups-accept-jobs.c | 38 cups_accept_jobs(papi_service_t svc, papi_attribute_t **request, in cups_accept_jobs()
|
H A D | enable-printer.c | 38 ipp_enable_printer(papi_service_t svc, papi_attribute_t **request, in ipp_enable_printer()
|