Lines Matching defs:injob
46 create_bsd_job(np_job_t *injob, int pr_order, int filesize)
54 if ((injob->request_id == NULL) || (injob->username == NULL) ||
55 (injob->dest == NULL) || (injob->printer == NULL)) {
67 if ((id = strrchr(injob->request_id, (int)'-')) == NULL) {
70 injob->request_id);
72 injob->request_id);
94 if ((id = strchr(injob->username, '@')) != NULL) {
96 job->np_username = strdup(injob->username);
99 } else if ((id = strrchr(injob->username, '!')) != NULL) {
102 job->np_host = strdup(injob->username);
106 injob->username);
107 job->np_username = strdup(injob->username);
111 job->np_printer = injob->printer;
112 job->np_filename = injob->filename;
124 job->np_timeout = injob->timeout;
125 job->np_banner = injob->banner;
128 if (injob->title == NULL)
129 job->np_title = injob->filename;
131 job->np_title = injob->title;
141 if (injob->banner == BANNER) {