Home
last modified time | relevance | path

Searched refs:fault_alert (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c63 prbufp->fault_alert.shcmd in okprinter()
64 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter()
112 prbufp->fault_alert.shcmd in okprinter()
114 STREQU(prbufp->fault_alert.shcmd, NAME_QUIET) in okprinter()
115 || STREQU(prbufp->fault_alert.shcmd, NAME_LIST) in okprinter()
H A Dfreeprinter.c76 if (pp->fault_alert.shcmd)
77 Free (pp->fault_alert.shcmd);
H A Dputprinter.c487 prbufp->fault_alert.shcmd in putprinter()
488 && putalert(Lp_A_Printers, name, &(prbufp->fault_alert)) == -1 in putprinter()
H A Dgetprinter.c325 prp->fault_alert = *pa; in getprinter()
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c199 printalert(stdout, &(oldp->fault_alert), 1); in do_printer()
362 prbufp->fault_alert.shcmd = strdup(NAME_NONE); in configure_printer()
363 prbufp->fault_alert.Q = 0; in configure_printer()
364 prbufp->fault_alert.W = 0; in configure_printer()
378 prbufp->fault_alert.shcmd = nameit(NAME_MAIL); in configure_printer()
413 prbufp->fault_alert.shcmd = nameit(NAME_MAIL); in configure_printer()
414 prbufp->fault_alert.Q = 0; in configure_printer()
415 prbufp->fault_alert.W = 0; in configure_printer()
425 prbufp->fault_alert.shcmd = nameit(A); in configure_printer()
427 prbufp->fault_alert.shcmd = A; in configure_printer()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c109 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in printer_fault()
115 (pps->printer->fault_alert.shcmd ? in printer_fault()
116 pps->printer->fault_alert.shcmd : "??"), in printer_fault()
145 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in clear_printer_fault()
H A Ddisp2.c101 if (!SAME(pp->fault_alert.shcmd, in s_load_printer()
102 op->fault_alert.shcmd) || in s_load_printer()
103 pp->fault_alert.W != op->fault_alert.W) { in s_load_printer()
113 if (pp->fault_alert.shcmd) in s_load_printer()
H A Dexec.c261 if (!(printer->printer->fault_alert.shcmd)) { in exec()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c218 if (tmp->fault_alert.shcmd != NULL) { in lpsched_printer_configuration_to_attributes()
221 tmp->fault_alert.shcmd); in lpsched_printer_configuration_to_attributes()
224 tmp->fault_alert.Q); in lpsched_printer_configuration_to_attributes()
227 tmp->fault_alert.W); in lpsched_printer_configuration_to_attributes()
H A Dlpsched-msgs.c564 p->fault_alert.shcmd = strdup("mail"); in lpsched_add_printer()
598 p->fault_alert.shcmd = strdup("mail"); in lpsched_add_modify_printer()
/illumos-gate/usr/src/cmd/lp/include/
H A Dprinters.h108 FALERT fault_alert; /* how to alert on printer fault */ member