/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | alerts.c | 75 alert (int type, ...) in alert() function 86 pformat(pr->alert->msgfile, text, pr, rp); in alert() 87 if (!pr->alert->active) in alert() 90 pr->alert->active = 1; in alert() 94 pr->alert->exec->flags |= EXF_RESTART; in alert() 96 Unlink(pr->alert->msgfile); in alert() 103 pwformat(pp->alert->msgfile, pp); in alert() 104 if (!pp->alert->active) { in alert() 106 pp->alert->active = 1; in alert() 109 pp->alert->exec->flags |= EXF_RESTART; in alert() [all …]
|
H A D | fncs.c | 189 if (psp->alert != NULL) in free_pstatus() 190 free_alert(psp->alert); in free_pstatus() 257 result->alert = new_alert("A-%d", i++); in new_pstatus() 258 result->alert->exec = new_exec(EX_ALERT, result); in new_pstatus() 306 if (fsp->alert != NULL) in free_fstatus() 307 free_alert(fsp->alert); in free_fstatus() 337 result->alert = new_alert("F-%d", i++); in new_fstatus() 338 result->alert->exec = new_exec(EX_FALERT, result); in new_fstatus() 339 result->trigger = result->form->alert.Q; in new_fstatus() 362 if (pwp->alert != NULL) in free_pwstatus() [all …]
|
H A D | daisyforms.c | 150 if ((trigger = pf->alert.Q) <= 0) in check_form_alert() 158 #define OALERT pfs->form->alert in check_form_alert() 159 #define NALERT pf->alert in check_form_alert() 169 if (pfs->alert->active) in check_form_alert() 208 alert (A_FORM, pfs); in check_form_alert() 240 if ((trigger = ppw->alert.Q) <= 0) in check_pwheel_alert() 248 #define OALERT ppws->pwheel->alert in check_pwheel_alert() 249 #define NALERT ppw->alert in check_pwheel_alert() 259 if (ppws->alert->active) in check_pwheel_alert() 297 alert (A_PWHEEL, ppws); in check_pwheel_alert()
|
H A D | nodes.h | 95 ALERT *alert; member 119 ALERT *alert; member 148 ALERT *alert; member 207 FALERT alert; member
|
H A D | disp4.c | 380 else if (!pfs->alert->active) in s_quiet_alert() 385 pfs->alert->active = 1; in s_quiet_alert() 394 else if (!pps->alert->active) in s_quiet_alert() 399 pps->alert->active = 1; in s_quiet_alert() 408 else if (!ppws->alert->active) in s_quiet_alert() 413 ppws->alert->active = 1; in s_quiet_alert()
|
H A D | dowait.c | 43 || (PRS)->request->alert \ 114 if (pps->alert->active) in dowait() 452 pas = ep->ex.printer->alert; in dowait() 456 pas = ep->ex.form->alert; in dowait() 460 pas = ep->ex.pwheel->alert; in dowait()
|
H A D | disp2.c | 100 if (pps->alert->active) in s_load_printer() 111 pps->alert->active = 0; in s_load_printer() 112 terminate (pps->alert->exec); in s_load_printer() 114 alert(A_PRINTER, pps, (RSTATUS *)0, in s_load_printer() 117 Unlink (pps->alert->msgfile); in s_load_printer() 185 if (pps->alert->active) in _unload_printer()
|
H A D | exec.c | 265 ep = printer->alert->exec; in exec() 270 ep = pwheel->alert->exec; in exec() 281 ep = form->alert->exec; in exec() 942 (void)Chown (printer->alert->msgfile, procuid, procgid); in exec() 946 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec() 953 (void)Chown (pwheel->alert->msgfile, procuid, procgid); in exec() 957 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec() 964 (void)Chown (form->alert->msgfile, procuid, procgid); in exec() 968 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec() 997 if (request->request->alert) { in exec() [all …]
|
H A D | disena.c | 117 if (pps->alert->active) in enable()
|
H A D | notify.c | 108 && !prs->request->alert in notify()
|
H A D | faults.c | 122 alert(A_PRINTER, pps, prs, shortWhy); in printer_fault()
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 161 FALERT alert = { (char *)0, -1, -1 }; in main() local 249 alert.shcmd = makestr(optarg, " ", getname(), (char *)0); in main() 251 alert.shcmd = strdup(optarg); in main() 257 if (alert.Q != -1) in main() 260 alert.Q = 1; in main() 262 alert.Q = strtol(optarg, &rest, 10); in main() 263 if (alert.Q < 0) { in main() 271 if (alert.Q == 0) { in main() 280 if (alert.W != -1) in main() 283 alert.W = 0; in main() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_pwheel.c | 75 printalert (stdout, &(oldS->alert), 0); in do_pwheel() 158 ppw->alert.shcmd = 0; 159 ppw->alert.Q = 0; 160 ppw->alert.W = 0; 167 ppw->alert.shcmd = nameit(A); 169 ppw->alert.shcmd = A; 174 ppw->alert.Q = Q; 178 ppw->alert.W = W;
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 272 static FALERT alert; in getalert() local 326 alert.shcmd = sop_up_rest(fd, ALRT_CMDEND); in getalert() 330 if (!alert.shcmd) in getalert() 336 if (alert.shcmd[(len = strlen(alert.shcmd)) - 1] == '\n') in getalert() 337 alert.shcmd[len - 1] = 0; in getalert() 362 alert.Q = atoi(buf); in getalert() 372 alert.W = atoi(buf); in getalert() 376 return (&alert); in getalert()
|
/illumos-gate/usr/src/cmd/lp/lib/requests/ |
H A D | putrequest.c | 78 && (reqbufp->alert && *(reqbufp->alert)) 161 else if (reqbufp->alert && *(reqbufp->alert)) 162 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->alert);
|
H A D | freerequest.c | 60 if (reqbufp->alert) 61 Free (reqbufp->alert);
|
H A D | getrequest.c | 173 reqp->alert = Strdup(p);
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslog.conf | 36 *.alert;kern.err;daemon.err operator 37 *.alert root 54 user.alert `root, operator'
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | printwheels.c | 94 pwp->alert = *pa; 152 if (putalert(Lp_A_PrintWheels, name, &(pwheelp->alert)) == -1) 242 if (ppw->alert.shcmd) 243 Free (ppw->alert.shcmd);
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | alert.proto | 76 The alert message is: 80 } | mailx -s 'Failed print service alert' -USER-
|
H A D | Makefile | 50 MISC = alert.proto
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | requests.h | 72 char *alert; /* program to run to alert user when done */ member
|
H A D | printers.h | 171 FALERT alert; /* how to alert when mount needed */ member
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | msg.source | 588 "Don't give the -Q option when setting\na printer fault alert." 778 "The LP print service can't take in another print\nwheel alert." 779 …alert configuration has been saved\non disk nonetheless. Stop the LP print\nservice (/usr/sbin/lps… 830 …ngle print wheel\nname, not a list of names, when defining\na print wheel alert. Only the first\np… 899 "No alert given." 900 "You must give a shell command to use as\nthe alert." 902 "No alert defined for form \"%s\"." 903 "Use the -A option to define a shell\ncommand to use as the alert.\nProcessing continues." 936 …tion is used to set an\nalert for those forms without an alert,\nbut \"-A none\" defines no alert."
|
/illumos-gate/usr/src/cmd/fm/dicts/ |
H A D | INTEL.dict | 59 fault.memory.intel.fbd.alert=31
|