Lines Matching refs:job
151 parse_lpd_job(service_t *svc, job_t **job, int fd, char *line, int len) in parse_lpd_job() argument
269 if ((*job = (job_t *)calloc(1, sizeof (**job))) != NULL) in parse_lpd_job()
270 (*job)->attributes = attributes; in parse_lpd_job()
378 job_t *job = NULL; in parse_lpd_query() local
380 parse_lpd_job(svc, &job, fd, line, sizeof (line)); in parse_lpd_query()
381 if (job == NULL) in parse_lpd_query()
383 list_append(&cache->jobs, job); in parse_lpd_query()
472 lpd_find_job_info(service_t *svc, int job_id, job_t **job) in lpd_find_job_info() argument
480 *job = NULL; in lpd_find_job_info()
481 for (i = 0; ((*job == NULL) && (jobs[i] != NULL)); i++) { in lpd_find_job_info()
487 *job = jobs[i]; in lpd_find_job_info()
490 if (*job != NULL) in lpd_find_job_info()