Searched refs:new_status (Results 1 – 3 of 3) sorted by relevance
520 static void _job_status_callback(const printer_state_dyn_t *new_status, in _job_status_callback() argument527 statusnew = new_status->printer_status & ~PRINTER_IDLE_BIT; in _job_status_callback()535 if (new_status->printer_reasons[i] == PRINT_STATUS_MAX_STATE) { in _job_status_callback()538 LOGD("_job_status_callback(): blocking reason %d: %d", i, new_status->printer_reasons[i]); in _job_status_callback()539 blocked_reasons |= (1 << new_status->printer_reasons[i]); in _job_status_callback()544 if ((new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) in _job_status_callback()545 || (new_status->printer_reasons[0] == PRINT_STATUS_UNKNOWN)) { in _job_status_callback()549 if ((new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) in _job_status_callback()574 if (new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) { in _job_status_callback()585 if (new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) { in _job_status_callback()
44 const printer_state_dyn_t *new_status, const printer_state_dyn_t *old_status,187 void (*status_cb)(const printer_state_dyn_t *new_status, in _start() argument
48 void (*status_callback)(const printer_state_dyn_t *new_status,