Lines Matching refs:job_params
55 wprint_job_params_t *job_params) { in _start_job() argument
57 if (job_params == NULL) return ERROR; in _start_job()
59 job_params->plugin_data = NULL; in _start_job()
66 job_params->plugin_data = (void *) priv; in _start_job()
70 static int _print_page(wprint_job_params_t *job_params, const char *mime_type, in _print_page() argument
78 if (job_params == NULL) return ERROR; in _print_page()
80 priv = (plugin_data_t *) job_params->plugin_data; in _print_page()
95 while ((rbytes > 0) && !job_params->cancelled) { in _print_page()
112 if ((job_params->page_range != NULL) && (strcmp(job_params->page_range, "") != 0)) { in _print_page()
118 static int _end_job(wprint_job_params_t *job_params) { in _end_job() argument
119 if (job_params != NULL) { in _end_job()
120 if (job_params->plugin_data != NULL) { in _end_job()
121 free(job_params->plugin_data); in _end_job()