/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ippstatus_monitor.c | 39 static void _init(const ifc_status_monitor_t *this_p, const wprint_connect_info_t *); 41 static void _get_status(const ifc_status_monitor_t *this_p, printer_state_dyn_t *printer_state_dyn); 43 static void _start(const ifc_status_monitor_t *this_p, void (*status_cb)( 48 static void _stop(const ifc_status_monitor_t *this_p); 50 static status_t _cancel(const ifc_status_monitor_t *this_p, const char *requesting_user); 52 static void _destroy(const ifc_status_monitor_t *this_p); 54 static void _get_job_state(const ifc_status_monitor_t *this_p, job_state_dyn_t *job_state_dyn, 84 static void _init(const ifc_status_monitor_t *this_p, const wprint_connect_info_t *connect_info) { in _init() argument 88 if (this_p == NULL) { in _init() 91 monitor = IMPL(ipp_monitor_t, ifc, this_p); in _init() [all …]
|
D | ippstatus_capabilities.c | 77 static void _init(const ifc_printer_capabilities_t *this_p, 80 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p, 83 static void _destroy(const ifc_printer_capabilities_t *this_p); 110 static void _init(const ifc_printer_capabilities_t *this_p, in _init() argument 115 if (this_p == NULL) { in _init() 118 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _init() 134 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p, in _get_capabilities() argument 151 if (this_p == NULL) { in _get_capabilities() 155 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _get_capabilities() 218 static void _destroy(const ifc_printer_capabilities_t *this_p) { in _destroy() argument [all …]
|
D | ipp_print.c | 28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, 31 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params, 34 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params, 37 static int _send_data(const ifc_print_job_t *this_p, const char *buffer, size_t length); 39 static status_t _end_job(const ifc_print_job_t *this_p); 41 static void _destroy(const ifc_print_job_t *this_p); 79 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init() argument 85 if (this_p == NULL) { in _init() 89 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); in _init() 124 static void _destroy(const ifc_print_job_t *this_p) { in _destroy() argument [all …]
|
/packages/services/BuiltInPrintService/jni/include/ |
D | ifc_print_job.h | 31 status_t (*init)(const struct ifc_print_job_st *this_p, const char *printer_address, int port, 37 status_t (*validate_job)(const struct ifc_print_job_st *this_p, wprint_job_params_t *job_params, 43 status_t (*start_job)(const struct ifc_print_job_st *this_p, 50 int (*send_data)(const struct ifc_print_job_st *this_p, const char *buffer, 56 status_t (*check_status)(const struct ifc_print_job_st *this_p); 61 status_t (*end_job)(const struct ifc_print_job_st *this_p); 66 void (*destroy)(const struct ifc_print_job_st *this_p); 71 void (*enable_timeout)(const struct ifc_print_job_st *this_p,
|
D | ifc_status_monitor.h | 30 void (*init)(const struct ifc_status_monitor_st *this_p, 36 void (*get_status)(const struct ifc_status_monitor_st *this_p, 42 status_t (*cancel)(const struct ifc_status_monitor_st *this_p, const char *requesting_user); 47 void (*start)(const struct ifc_status_monitor_st *this_p, 57 void (*stop)(const struct ifc_status_monitor_st *this_p); 62 void (*destroy)(const struct ifc_status_monitor_st *this_p);
|
D | ifc_printer_capabilities.h | 30 void (*init)(const struct ifc_printer_capabilities_st *this_p, 36 status_t (*get_capabilities)(const struct ifc_printer_capabilities_st *this_p, 42 status_t (*get_margins)(const struct ifc_printer_capabilities_st *this_p, 49 void (*destroy)(const struct ifc_printer_capabilities_st *this_p);
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | printer.c | 47 static status_t _init(const ifc_print_job_t *this_p, const char *printer_addr, int port, in _init() argument 49 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _init() 73 static void _destroy(const ifc_print_job_t *this_p) { in _destroy() argument 74 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _destroy() 80 static int _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params, in _start_job() argument 82 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _start_job() 91 static int _send_data(const ifc_print_job_t *this_p, const char *buffer, size_t length) { in _send_data() argument 95 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _send_data() 97 if (this_p && buffer && (print_job->job_status == OK)) { in _send_data() 152 static int _end_job(const ifc_print_job_t *this_p) { in _end_job() argument [all …]
|