| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpadmin/ |
| do_pwheel.c | 56 ** do_pwheel() - SET ALERT FOR NEED TO MOUNT PRINT WHEEL 78 printalert (stdout, &(oldS->alert), 0); 121 * alert that doesn't exist. 161 ppw->alert.shcmd = 0; 162 ppw->alert.Q = 0; 163 ppw->alert.W = 0; 170 ppw->alert.shcmd = nameit(A); 172 ppw->alert.shcmd = A; 177 ppw->alert.Q = Q; 181 ppw->alert.W = W [all...] |
| /onnv/onnv-gate/usr/src/cmd/syslogd/ |
| syslog.conf | 36 *.alert;kern.err;daemon.err operator 37 *.alert root 54 user.alert `root, operator'
|
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| alerts.c | 77 alert (int type, ...) function 88 pformat(pr->alert->msgfile, text, pr, rp); 89 if (!pr->alert->active) 92 pr->alert->active = 1; 96 pr->alert->exec->flags |= EXF_RESTART; 98 Unlink(pr->alert->msgfile); 105 pwformat(pp->alert->msgfile, pp); 106 if (!pp->alert->active) { 108 pp->alert->active = 1; 111 pp->alert->exec->flags |= EXF_RESTART [all...] |
| daisyforms.c | 116 ** check_form_alert() - CHECK CHANGES TO MOUNT FORM ALERT 139 * be NO alert active. 152 if ((trigger = pf->alert.Q) <= 0) 160 #define OALERT pfs->form->alert 161 #define NALERT pf->alert 166 * Cancel an active alert if the number of requests queued 168 * raised), or if the alert command or period has changed. 169 * In the latter case we'll reactive the alert later. 171 if (pfs->alert->active) 186 * If we still have the condition for an alert, we'll fir [all...] |
| nodes.h | 32 typedef struct alert_node ALERT; 77 #define EX_ALERT 3 /* exec alert for ex.printer */ 78 #define EX_FALERT 4 /* exec alert for ex.form */ 79 #define EX_PALERT 5 /* exec alert for ex.pwheel */ 97 ALERT *alert; member in struct:fstat_node 99 short requests_last; /* # when alert last sent */ 121 ALERT *alert; member in struct:pstat_node 150 ALERT *alert member in struct:pwstat_node 209 FALERT alert; member in struct:form_node [all...] |
| disena.c | 117 if (pps->alert->active)
|
| fncs.c | 160 free_alert(ALERT *ap) 171 ALERT * 174 ALERT *result = calloc(1, sizeof (*result)); 191 if (psp->alert != NULL) 192 free_alert(psp->alert); 259 result->alert = new_alert("A-%d", i++); 260 result->alert->exec = new_exec(EX_ALERT, result); 308 if (fsp->alert != NULL) 309 free_alert(fsp->alert); 339 result->alert = new_alert("F-%d", i++) [all...] |
| disp4.c | 350 * We quiet an alert by cancelling it with "cancel_alert()" 352 * terminates the process running the alert but tricks the 354 * The alert will be reactivated only AFTER "cancel_alert()" 355 * has been called (to clear the active flag) and then "alert()" 358 * For printer faults the alert will be reactivated when: 363 * For forms/print-wheels the alert will be reactivated when: 382 else if (!pfs->alert->active) 387 pfs->alert->active = 1; 396 else if (!pps->alert->active) 401 pps->alert->active = 1 [all...] |
| dowait.c | 45 || (PRS)->request->alert \ 65 register ALERT *pas; 116 if (pps->alert->active) 454 pas = ep->ex.printer->alert; 458 pas = ep->ex.form->alert; 462 pas = ep->ex.pwheel->alert; 466 * Only the alert structure (and exec structure)
|
| disp2.c | 98 * Does an alert get affected? 102 if (pps->alert->active) 110 * check if we need to run the new alert, 113 pps->alert->active = 0; 114 terminate (pps->alert->exec); 116 alert(A_PRINTER, pps, (RSTATUS *)0, 119 Unlink (pps->alert->msgfile); 187 if (pps->alert->active)
|
| exec.c | 372 ep = printer->alert->exec; 377 ep = pwheel->alert->exec; 388 ep = form->alert->exec; 1058 (void)Chown (printer->alert->msgfile, procuid, procgid); 1062 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); 1069 (void)Chown (pwheel->alert->msgfile, procuid, procgid); 1073 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); 1080 (void)Chown (form->alert->msgfile, procuid, procgid); 1084 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); 1113 if (request->request->alert) { [all...] |
| notify.c | 111 && !prs->request->alert
|
| faults.c | 125 alert(A_PRINTER, pps, prs, shortWhy);
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/requests/ |
| freerequest.c | 62 if (reqbufp->alert) 63 Free (reqbufp->alert);
|
| llib-llpreq | 43 char *alert; /* program to run to alert user when done */
|
| putrequest.c | 80 && (reqbufp->alert && *(reqbufp->alert)) 163 else if (reqbufp->alert && *(reqbufp->alert)) 164 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->alert);
|
| getrequest.c | 175 reqp->alert = Strdup(p);
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/printers/ |
| printwheels.c | 79 * Get the information for the alert. 96 pwp->alert = *pa; 152 * Now write out the alert condition. 154 if (putalert(Lp_A_PrintWheels, name, &(pwheelp->alert)) == -1) 244 if (ppw->alert.shcmd) 245 Free (ppw->alert.shcmd);
|
| llib-llpprt | 56 FALERT fault_alert; /* how to alert on printer fault */ 73 FALERT alert; /* how to alert when mount needed */
|
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/ |
| lpforms.c | 103 " [-A mail | write | shell-command] (alert definition)\n" 104 " [-Q threshold] (# needed for alert)\n" 114 " (define alert for forms with no alert yet)\n" 117 " (define alert for all forms)\n" 162 FALERT alert = { (char *)0, -1, -1 }; local 250 alert.shcmd = makestr(optarg, " ", getname(), (char *)0); 252 alert.shcmd = strdup(optarg); 258 if (alert.Q != -1) 261 alert.Q = 1 488 FALERT alert; local 855 FALERT alert; local 1004 FALERT alert; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/lp/ |
| alerts.c | 47 * We recognize the following key phrases in the alert prototype 82 ** putalert() - WRITE ALERT TO FILES 143 * each alert with the UID and GID of the administrator 144 * who defined the alert. Otherwise, anything goes. 265 ** getalert() - EXTRACT ALERT FROM FILES 273 static FALERT alert; local 327 alert.shcmd = sop_up_rest(fd, ALRT_CMDEND); 331 if (!alert.shcmd) 337 if (alert.shcmd[(len = strlen(alert.shcmd)) - 1] == '\n' [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/include/ |
| requests.h | 75 char *alert; /* program to run to alert user when done */ member in struct:REQUEST 118 #define RS_NOTIFY 0x0400 /* user is to be notified (alert) */ 119 #define RS_NOTIFYING 0x0800 /* notification (alert) is running */
|
| printers.h | 109 FALERT fault_alert; /* how to alert on printer fault */ 155 #define BAD_ALERT 0x0010 /* has reserved word for alert command */ 172 FALERT alert; /* how to alert when mount needed */ member in struct:PWHEEL
|
| /onnv/onnv-gate/usr/src/cmd/lp/model/ |
| Makefile | 52 MISC = alert.proto
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/eg/ |
| javascript.cgi | 22 alert("You must be between the ages of 5 and 20 to submit this form"); 38 alert("Please enter date in format MMM DD, YY"); 59 alert("Darn. That leaves me out."); 61 alert(color + " is a fine choice!");
|