/titanic_41/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 102 if (!alertp->shcmd) { in putalert() 107 if (STREQU(alertp->shcmd, NAME_NONE)) in putalert() 213 fdprintf(fdout, "%s\n", alertp->shcmd); in putalert() 327 alert.shcmd = sop_up_rest(fd, ALRT_CMDEND); in getalert() 331 if (!alert.shcmd) in getalert() 337 if (alert.shcmd[(len = strlen(alert.shcmd)) - 1] == '\n') in getalert() 338 alert.shcmd[len - 1] = 0; in getalert() 467 if (!alertp->shcmd) { in printalert() 474 register char *copy = Strdup(alertp->shcmd), in printalert() 503 (void)fprintf (fp, (char *)gettext("alert with \"%s\" "), alertp->shcmd); in printalert()
|
H A D | llib-llp | 48 char * shcmd; /* shell command used to perform the alert */
|
/titanic_41/usr/src/cmd/lp/lib/printers/ |
H A D | okprinter.c | 65 prbufp->fault_alert.shcmd in okprinter() 66 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter() 114 prbufp->fault_alert.shcmd in okprinter() 116 STREQU(prbufp->fault_alert.shcmd, NAME_QUIET) in okprinter() 117 || STREQU(prbufp->fault_alert.shcmd, NAME_LIST) in okprinter()
|
H A D | freeprinter.c | 78 if (pp->fault_alert.shcmd) 79 Free (pp->fault_alert.shcmd);
|
H A D | printwheels.c | 244 if (ppw->alert.shcmd) 245 Free (ppw->alert.shcmd);
|
H A D | putprinter.c | 489 prbufp->fault_alert.shcmd in putprinter()
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | daisyforms.c | 178 !SAME(NALERT.shcmd, OALERT.shcmd) in check_form_alert() 193 if ((pf && NALERT.shcmd) || OALERT.shcmd) in check_form_alert() 268 !SAME(NALERT.shcmd, OALERT.shcmd) in check_pwheel_alert() 283 if ((ppw && NALERT.shcmd) || OALERT.shcmd) in check_pwheel_alert()
|
H A D | faults.c | 112 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in printer_fault() 118 (pps->printer->fault_alert.shcmd ? in printer_fault() 119 pps->printer->fault_alert.shcmd : "??"), in printer_fault() 148 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 | 367 if (!(printer->printer->fault_alert.shcmd)) { in exec()
|
/titanic_41/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_pwheel.c | 161 ppw->alert.shcmd = 0; 170 ppw->alert.shcmd = nameit(A); 172 ppw->alert.shcmd = A;
|
H A D | do_printer.c | 375 prbufp->fault_alert.shcmd = strdup(NAME_NONE); 391 prbufp->fault_alert.shcmd = nameit(NAME_MAIL); 426 prbufp->fault_alert.shcmd = nameit(NAME_MAIL); 437 prbufp->fault_alert.shcmd = nameit(A); 439 prbufp->fault_alert.shcmd = A;
|
/titanic_41/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 …]
|
/titanic_41/usr/src/cmd/init/ |
H A D | init.c | 1516 getcmd(struct CMD_LINE *cmd, char *shcmd) in getcmd() argument 1606 for (proceed = TRUE, ptr = shcmd, state = ID, lastc = '\0'; in getcmd() 1638 if (state == ID && c == '#' && ptr == shcmd) { in getcmd() 1656 if ((i = ptr - shcmd) < 1 || i > 4) { in getcmd() 1659 bcopy(shcmd, &cmd->c_id[0], i); in getcmd() 1660 ptr = shcmd; in getcmd() 1670 for (cmd->c_levels = 0, ptr1 = shcmd; in getcmd() 1682 ptr = shcmd; /* Reset the buffer */ in getcmd() 1694 if (ptr == shcmd) { in getcmd() 1711 if (strcmp(shcmd, actions[i]) == 0) { in getcmd() [all …]
|
/titanic_41/usr/src/cmd/lp/lib/forms/ |
H A D | getform.c | 110 alertp->shcmd = 0; in getform()
|
H A D | putform.c | 111 alertp->shcmd in putform()
|
/titanic_41/usr/src/lib/libast/ |
H A D | Makefile | 125 shcmd.h \
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/lp/include/ |
H A D | lp.h | 55 char * shcmd; /* shell command used to perform the alert */ member
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | RELEASE | 50 08-06-17 shcmd.h: move to libast
|
/titanic_41/usr/src/lib/libast/common/ |
H A D | RELEASE | 59 09-06-19 include/shcmd.h: add sh_context(p) cast 114 08-08-06 include/shcmd.h: add 'int invariant;' for builtin invariant arg count
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | system-header.mf | 300 file path=usr/include/ast/shcmd.h
|