Lines Matching refs:reqp
60 REQUEST *reqp; local
106 reqp = calloc(sizeof (*reqp), 1);
107 reqp->copies = 1;
108 reqp->priority = -1;
140 reqp->copies = atoi(p);
144 reqp->destination = Strdup(p);
148 appendlist (&reqp->file_list, p);
153 reqp->form = Strdup(p);
158 reqp->actions |= ACT_RESUME;
160 reqp->actions |= ACT_HOLD;
162 reqp->actions |= ACT_IMMEDIATE;
167 reqp->actions |= ACT_MAIL;
169 reqp->actions |= ACT_WRITE;
171 reqp->actions |= ACT_NOTIFY;
173 reqp->alert = Strdup(p);
177 reqp->options = Strdup(p);
181 reqp->priority = atoi(p);
185 reqp->pages = Strdup(p);
190 reqp->charset = Strdup(p);
194 reqp->title = Strdup(p);
198 reqp->modes = Strdup(p);
202 reqp->input_type = Strdup(p);
206 reqp->user = Strdup(p);
210 reqp->actions |= ACT_RAW;
214 reqp->actions |= ACT_FAST;
218 reqp->outcome = (ushort)strtol(p, (char **)0, 16);
238 reqp->copies <= 0
239 || !reqp->file_list || !*(reqp->file_list)
240 || reqp->priority < -1 || 39 < reqp->priority
241 || STREQU(reqp->input_type, NAME_ANY)
242 || STREQU(reqp->input_type, NAME_TERMINFO)
244 freerequest (reqp);
252 if (!reqp->destination || !*reqp->destination) {
253 if (reqp->destination)
254 Free (reqp->destination);
255 reqp->destination = Strdup(NAME_ANY);
257 if (!reqp->input_type || !*reqp->input_type) {
258 if (reqp->input_type)
259 Free (reqp->input_type);
260 reqp->input_type = Strdup(NAME_SIMPLE);
263 return (reqp);