Home
last modified time | relevance | path

Searched refs:alert (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c75 alert (int type, ...) in alert() function
87 if (!pr->alert->active) in alert()
90 pr->alert->active = 1; in alert()
96 Unlink(pr->alert->msgfile); in alert()
104 if (!pp->alert->active) { in alert()
106 pp->alert->active = 1; in alert()
111 Unlink(pp->alert->msgfile); in alert()
126 formPath = fp->alert->msgfile; in alert()
133 } else if (!fp->alert->active) { in alert()
135 fp->alert->active = 1; in alert()
[all …]
H A Dfncs.c189 if (psp->alert != NULL) in free_pstatus()
190 free_alert(psp->alert); in free_pstatus()
306 if (fsp->alert != NULL) in free_fstatus()
307 free_alert(fsp->alert); in free_fstatus()
362 if (pwp->alert != NULL) in free_pwstatus()
363 free_alert(pwp->alert); in free_pwstatus()
646 _form->alert.Q = alertbuf.Q; in Getform()
649 _form->alert.Q = 0; in Getform()
650 _form->alert.W = 0; in Getform()
759 if (pf->alert.shcmd) in free_form()
[all …]
H A Ddaisyforms.c150 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 Dnodes.h95 ALERT *alert; member
119 ALERT *alert; member
148 ALERT *alert; member
207 FALERT alert; member
H A Ddisp4.c380 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 Ddowait.c43 || (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 Ddisp2.c100 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 Dexec.c265 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 Ddisena.c117 if (pps->alert->active) in enable()
H A Dnotify.c108 && !prs->request->alert in notify()
H A Dfaults.c122 alert(A_PRINTER, pps, prs, shortWhy); in printer_fault()
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c257 if (alert.Q != -1) in main()
260 alert.Q = 1; in main()
283 alert.W = 0; in main()
382 && (alert.Q != -1 || alert.W != -1) in main()
487 FALERT alert; local
605 alert.shcmd = 0;
606 alert.W = alert.Q = -1;
647 alert.W = alert.Q = -1;
854 FALERT alert; local
1003 FALERT alert; local
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_pwheel.c75 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 Dalerts.c272 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/syslogd/
H A Dsyslog.conf36 *.alert;kern.err;daemon.err operator
37 *.alert root
54 user.alert `root, operator'
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dputrequest.c78 && (reqbufp->alert && *(reqbufp->alert))
161 else if (reqbufp->alert && *(reqbufp->alert))
162 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->alert);
H A Dfreerequest.c60 if (reqbufp->alert)
61 Free (reqbufp->alert);
H A Dgetrequest.c173 reqp->alert = Strdup(p);
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dprintwheels.c94 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 Dalert.proto76 The alert message is:
80 } | mailx -s 'Failed print service alert' -USER-
H A DMakefile50 MISC = alert.proto
/illumos-gate/usr/src/cmd/lp/include/
H A Drequests.h72 char *alert; /* program to run to alert user when done */ member
H A Dprinters.h171 FALERT alert; /* how to alert when mount needed */ member
/illumos-gate/usr/src/cmd/lp/lib/oam/
H A Dmsg.source588 "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."
779alert 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 DINTEL.dict59 fault.memory.intel.fbd.alert=31

12