| /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...] |
| 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...] |
| /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/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/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
|