D | ipphelper.c | 94 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 121 if (http == NULL) { 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 156 if ((response = cupsDoRequest(http, request, http_resource)) == NULL) { in test_and_set_ipp_version() 227 ipp_status_t get_PrinterState(http_t *http, char *printer_uri, in get_PrinterState() argument [all …]
|