/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipp_print.c | 29 const char *printer_uri, bool use_secure_uri); 51 char printer_uri[1024]; member 78 const char *printer_uri, bool use_secure_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, "%s", printer_uri); in _init() 102 getResourceFromURI(ipp_job->printer_uri, ipp_job->http_resource, 1024); in _init() 173 static ipp_t *_fill_job(int ipp_op, char *printer_uri, const wprint_job_params_t *job_params) { in _fill_job() argument 187 if (set_ipp_version(request, printer_uri, NULL, IPP_VERSION_RESOLVED) != 0) { in _fill_job() [all …]
|
D | ippstatus_monitor.c | 59 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()
|
D | ipphelper.c | 139 status_t set_ipp_version(ipp_t *op_to_set, char *printer_uri, http_t *http, in set_ipp_version() argument 153 if (determine_ipp_version(printer_uri, http) != 0) { in set_ipp_version() 163 static status_t determine_ipp_version(char *printer_uri, http_t *http) { in determine_ipp_version() argument 164 LOGD("determine_ipp_version(): Enter printer_uri = %s", printer_uri); in determine_ipp_version() 170 if ((test_and_set_ipp_version(printer_uri, http, 1, 1) == OK) in determine_ipp_version() 171 || (test_and_set_ipp_version(printer_uri, http, 1, 0) == OK) in determine_ipp_version() 172 || (test_and_set_ipp_version(printer_uri, http, 2, 0) == OK)) { in determine_ipp_version() 181 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 193 getResourceFromURI(printer_uri, http_resource, 1024); in test_and_set_ipp_version() 197 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, printer_uri); in test_and_set_ipp_version() [all …]
|
D | ipphelper.h | 78 extern ipp_status_t get_PrinterState(http_t *http, char *printer_uri, 139 http_t *ipp_cups_connect(const wprint_connect_info_t *info, char *printer_uri, 145 ipp_t *ipp_doCupsRequest(http_t *http, ipp_t *request, char *http_resource, char *printer_uri);
|
/packages/services/BuiltInPrintService/jni/include/ |
D | ifc_print_job.h | 32 const char *printer_uri, bool use_secure_uri);
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 154 char printer_uri[1024]; member 763 connect_info.uri_path = jq->printer_uri; in _initialize_status_ifc() 914 jq->port_num, jq->printer_uri, jq->use_secure_uri); in _job_thread() 1898 memcpy(jq->printer_uri, printer_cap->httpResource, in wprintStartJob() 1899 MIN(ARRAY_SIZE(printer_cap->httpResource), ARRAY_SIZE(jq->printer_uri))); in wprintStartJob()
|
D | printer.c | 48 const char *printer_uri, bool use_secure_uri) { in _init() argument
|