Lines Matching refs:NULL

34 CLSTATUS	**CStatus = NULL;		/* Status of same          */
35 PSTATUS **PStatus = NULL; /* Status of same */
36 FSTATUS **FStatus = NULL; /* status of same */
37 PWSTATUS **PWStatus = NULL; /* Status of same */
38 EXEC **Exec_Table = NULL; /* Running processes */
39 EXEC **Exec_Slow = NULL; /* Slow filters */
40 EXEC **Exec_Notify = NULL; /* Notifications */
41 RSTATUS *Request_List = NULL; /* Queue of print requests */
83 while((p = Getprinter(NAME_ALL)) != NULL || errno != ENOENT) {
84 if ((!p) || (p->remote)) /* NULL or this is remote, ignore it */
97 while((c = Getclass(NAME_ALL)) != NULL) {
109 while ((f = Getform(NAME_ALL)) != NULL) {
121 while((p = Getpwheel(NAME_ALL)) != NULL || errno != ENOENT)
123 if (!p) /* NULL, ignore it. */
134 RSTATUS **table = NULL;
140 char *reqfile = NULL;
145 while((sysname = next_dir(Lp_Requests, &addr)) != NULL) {
148 sysdir = makepath(Lp_Requests, sysname, NULL);
150 while((name = next_file(sysdir, &sysaddr)) != NULL) {
151 reqfile = makepath(sysname, name, NULL);
154 if ((s = Getsecure(reqfile)) == NULL) {
165 if((r = Getrequest(reqfile)) == NULL) {
211 notify(rsp, NULL, 0, 0, 0);
220 * element of table[] will be NULL, and cancel will
226 * is if the printer is NULL, so test for it
229 if ((vr_ret=validate_request(rsp, NULL, 1)) != MOK) {
230 if (vr_ret == MNODEST || (rsp->printer == NULL)) {
245 if (table != NULL) {
248 for (i = 0; table[i] != NULL; i++);
253 for (i = 0; table[i] != NULL; i++) {
255 if (table[i + 1] != NULL)
271 ep = new_exec(EX_SLOWF, NULL);
276 ep = new_exec(EX_NOTIFY, NULL);