/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 101 if (!alertp->shcmd) { in putalert() 106 if (STREQU(alertp->shcmd, NAME_NONE)) in putalert() 212 fdprintf(fdout, "%s\n", alertp->shcmd); in putalert() 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() 466 if (!alertp->shcmd) { in printalert() 473 register char *copy = Strdup(alertp->shcmd), in printalert() 502 (void)fprintf (fp, (char *)gettext("alert with \"%s\" "), alertp->shcmd); in printalert()
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | okprinter.c | 63 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 D | freeprinter.c | 76 if (pp->fault_alert.shcmd) 77 Free (pp->fault_alert.shcmd);
|
H A D | printwheels.c | 242 if (ppw->alert.shcmd) 243 Free (ppw->alert.shcmd);
|
H A D | putprinter.c | 487 prbufp->fault_alert.shcmd in putprinter()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | daisyforms.c | 176 !SAME(NALERT.shcmd, OALERT.shcmd) in check_form_alert() 191 if ((pf && NALERT.shcmd) || OALERT.shcmd) in check_form_alert() 266 !SAME(NALERT.shcmd, OALERT.shcmd) in check_pwheel_alert() 281 if ((ppw && NALERT.shcmd) || OALERT.shcmd) in check_pwheel_alert()
|
H A D | faults.c | 109 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 D | disp2.c | 101 if (!SAME(pp->fault_alert.shcmd, in s_load_printer() 102 op->fault_alert.shcmd) || in s_load_printer() 113 if (pp->fault_alert.shcmd) in s_load_printer()
|
H A D | fncs.c | 645 if ((_form->alert.shcmd = alertbuf.shcmd) != NULL) { in Getform() 759 if (pf->alert.shcmd) in free_form() 760 Free (pf->alert.shcmd); in free_form()
|
H A D | alerts.c | 121 isFormMessage = (STREQU(fp->form->alert.shcmd, "showfault")); in alert()
|
H A D | exec.c | 261 if (!(printer->printer->fault_alert.shcmd)) { in exec()
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 249 alert.shcmd = makestr(optarg, " ", getname(), (char *)0); in main() 251 alert.shcmd = strdup(optarg); in main() 365 if (action == any_alert && STREQU(alert.shcmd, NAME_NONE)) { in main() 381 && !alert.shcmd in main() 386 || action == any_alert && !alert.shcmd in main() 605 alert.shcmd = 0; 646 alert.shcmd = 0; 727 !alert.shcmd && !p_new_alert->shcmd 732 if (p_new_alert->shcmd) 733 alert.shcmd = p_new_alert->shcmd; [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_pwheel.c | 158 ppw->alert.shcmd = 0; 167 ppw->alert.shcmd = nameit(A); 169 ppw->alert.shcmd = A;
|
H A D | do_printer.c | 362 prbufp->fault_alert.shcmd = strdup(NAME_NONE); 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() 425 prbufp->fault_alert.shcmd = nameit(A); in configure_printer() 427 prbufp->fault_alert.shcmd = A; in configure_printer()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 1528 getcmd(struct CMD_LINE *cmd, char *shcmd) in getcmd() argument 1618 for (proceed = TRUE, ptr = shcmd, state = ID, lastc = '\0'; in getcmd() 1650 if (state == ID && c == '#' && ptr == shcmd) { in getcmd() 1668 if ((i = ptr - shcmd) < 1 || i > 4) { in getcmd() 1671 bcopy(shcmd, &cmd->c_id[0], i); in getcmd() 1672 ptr = shcmd; in getcmd() 1682 for (cmd->c_levels = 0, ptr1 = shcmd; in getcmd() 1694 ptr = shcmd; /* Reset the buffer */ in getcmd() 1706 if (ptr == shcmd) { in getcmd() 1723 if (strcmp(shcmd, actions[i]) == 0) { in getcmd() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | getform.c | 108 alertp->shcmd = 0; in getform()
|
H A D | putform.c | 109 alertp->shcmd in putform()
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-printers.c | 218 if (tmp->fault_alert.shcmd != NULL) { in lpsched_printer_configuration_to_attributes() 221 tmp->fault_alert.shcmd); in lpsched_printer_configuration_to_attributes()
|
H A D | lpsched-msgs.c | 564 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/contrib/ast/src/lib/libcmd/ |
H A D | Makefile | 48 $("#")include <shcmd.h>
|
H A D | Mamfile | 78 make ${PACKAGE_ast_INCLUDE}/shcmd.h implicit 81 done ${PACKAGE_ast_INCLUDE}/shcmd.h 472 exec - #include <shcmd.h> 487 prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit 489 prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | lp.h | 53 char *shcmd; /* shell command used to perform the alert */ member
|
/illumos-gate/usr/src/cmd/ast/libast/ |
H A D | Makefile.defs | 40 sfio.h sfio_s.h sfio_t.h sfdisc.h shcmd.h \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/ |
H A D | Makefile | 36 sfio.h sfio_s.h sfio_t.h sfdisc.h shcmd.h \
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | Mamfile | 92 make ${PACKAGE_ast_INCLUDE}/shcmd.h implicit 95 done ${PACKAGE_ast_INCLUDE}/shcmd.h dontcare 98 prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit 189 prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit
|