Home
last modified time | relevance | path

Searched refs:print_job (Results 1 – 1 of 1) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dprinter.c49 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _init() local
51 if (!print_job) return ERROR; in _init()
55 if (print_job->port_num == PORT_FILE) { in _init()
56 print_job->psock = open(printer_addr, O_CREAT | O_WRONLY | O_TRUNC, in _init()
59 if (print_job->psock == ERROR) { in _init()
66 print_job->psock = wConnect(printer_addr, print_job->port_num, _wprint_timeout_msec); in _init()
69 print_job->job_status = ((print_job->psock != -1) ? OK : ERROR); in _init()
70 return print_job->job_status; in _init()
74 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _destroy() local
75 if (print_job) { in _destroy()
[all …]