Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c29 const char *printer_uri);
51 char printer_uri[1024]; member
78 const char *printer_uri) { in _init() argument
92 if ((printer_uri == NULL) || (strlen(printer_uri) == 0)) { in _init()
93 printer_uri = DEFAULT_IPP_URI_RESOURCE; in _init()
100 httpAssembleURIf(HTTP_URI_CODING_ALL, ipp_job->printer_uri, sizeof(ipp_job->printer_uri), in _init()
101 ipp_scheme, NULL, printer_address, ippPortNumber, printer_uri); in _init()
102 getResourceFromURI(ipp_job->printer_uri, ipp_job->http_resource, 1024); in _init()
161 static ipp_t *_fill_job(int ipp_op, char *printer_uri, const wprint_job_params_t *job_params) { in _fill_job() argument
175 if (set_ipp_version(request, printer_uri, NULL, IPP_VERSION_RESOLVED) != 0) { in _fill_job()
[all …]
Dipphelper.c94 status_t set_ipp_version(ipp_t *op_to_set, char *printer_uri, http_t *http, in set_ipp_version() argument
108 if (determine_ipp_version(printer_uri, http) != 0) { in set_ipp_version()
118 static status_t determine_ipp_version(char *printer_uri, http_t *http) { in determine_ipp_version() argument
119 LOGD("determine_ipp_version(): Enter printer_uri = %s", printer_uri); in determine_ipp_version()
125 if ((test_and_set_ipp_version(printer_uri, http, 1, 1) == OK) in determine_ipp_version()
126 || (test_and_set_ipp_version(printer_uri, http, 1, 0) == OK) in determine_ipp_version()
127 || (test_and_set_ipp_version(printer_uri, http, 2, 0) == OK)) { in determine_ipp_version()
136 static status_t test_and_set_ipp_version(char *printer_uri, http_t *http, int major, int minor) { in test_and_set_ipp_version() argument
148 getResourceFromURI(printer_uri, http_resource, 1024); in test_and_set_ipp_version()
152 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, printer_uri); in test_and_set_ipp_version()
[all …]
Dippstatus_monitor.c59 char printer_uri[1024]; member
100 monitor->http = ipp_cups_connect(connect_info, monitor->printer_uri, in _init()
101 sizeof(monitor->printer_uri)); in _init()
102 getResourceFromURI(monitor->printer_uri, monitor->http_resource, 1024); in _init()
179 ipp_status = get_PrinterState(monitor->http, monitor->printer_uri, printer_state_dyn, in _get_status()
306 monitor->printer_uri); in _cancel()
318 monitor->printer_uri); in _cancel()
366 monitor->printer_uri); in _cancel()
372 monitor->printer_uri)) == NULL) { in _cancel()
Dipphelper.h77 extern ipp_status_t get_PrinterState(http_t *http, char *printer_uri,
138 http_t *ipp_cups_connect(const wprint_connect_info_t *info, char *printer_uri,
144 ipp_t *ipp_doCupsRequest(http_t *http, ipp_t *request, char *http_resource, char *printer_uri);
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c153 char printer_uri[1024]; member
741 connect_info.uri_path = jq->printer_uri; in _job_thread()
837 jq->port_num, jq->printer_uri); in _job_thread()
1805 memcpy(jq->printer_uri, printer_cap->httpResource, in wprintStartJob()
1806 MIN(ARRAY_SIZE(printer_cap->httpResource), ARRAY_SIZE(jq->printer_uri))); in wprintStartJob()
Dprinter.c48 const char *printer_uri) { in _init() argument
/packages/services/BuiltInPrintService/jni/include/
Difc_print_job.h32 const char *printer_uri);