Lines Matching refs:request
37 * The argument to -R can be "request", "request:page", or "request:page:file".
38 * If page is omitted (as in the first form) or set to 0 request will be applied
49 #include "request.h" /* a few special definitions */
50 #include "path.h" /* for the default request file */
53 Request request[MAXREQUEST]; /* next page or global request */
54 int nextreq = 0; /* goes in request[nextreq] */
71 * Save the request until we get to appropriate page - don't even bother with
72 * the lookup right now. Format of *want string is "request", "request:page", or
73 * "request:page:file", and we assume we can change the string here as needed.
74 * If page is omitted or given as 0 the request will be done globally. If *want
75 * includes a file, request and page must also be given, and in that case *file
82 request[nextreq].want = strtok(want, ": ");
84 request[nextreq].page = 0;
85 else request[nextreq].page = atoi(page);
86 if ( (request[nextreq].file = strtok(NULL, ": ")) == NULL )
87 request[nextreq].file = requestfile;
113 if ( request[i].page == page )
114 dumprequest(request[i].want, request[i].file, fp_out);
133 * Looks for *want in the request file and if it's found the associated value