Searched refs:shcmd (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/misc/
H A Dintercepts.h28 #include <shcmd.h>
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c65 prbufp->fault_alert.shcmd
66 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd)
114 prbufp->fault_alert.shcmd
116 STREQU(prbufp->fault_alert.shcmd, NAME_QUIET)
117 || STREQU(prbufp->fault_alert.shcmd, NAME_LIST)
H A Dfreeprinter.c78 if (pp->fault_alert.shcmd)
79 Free (pp->fault_alert.shcmd);
H A Dprintwheels.c244 if (ppw->alert.shcmd)
245 Free (ppw->alert.shcmd);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dalerts.c102 if (!alertp->shcmd) {
107 if (STREQU(alertp->shcmd, NAME_NONE))
213 fdprintf(fdout, "%s\n", alertp->shcmd);
327 alert.shcmd = sop_up_rest(fd, ALRT_CMDEND);
331 if (!alert.shcmd)
337 if (alert.shcmd[(len = strlen(alert.shcmd)) - 1] == '\n')
338 alert.shcmd[len - 1] = 0;
467 if (!alertp->shcmd) {
474 register char *copy = Strdup(alertp->shcmd),
[all...]
H A Dllib-llp48 char * shcmd; /* shell command used to perform the alert */
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_pwheel.c161 ppw->alert.shcmd = 0;
170 ppw->alert.shcmd = nameit(A);
172 ppw->alert.shcmd = A;
H A Ddo_printer.c375 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;
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddaisyforms.c178 !SAME(NALERT.shcmd, OALERT.shcmd)
193 if ((pf && NALERT.shcmd) || OALERT.shcmd)
268 !SAME(NALERT.shcmd, OALERT.shcmd)
283 if ((ppw && NALERT.shcmd) || OALERT.shcmd)
H A Dfaults.c112 if (STREQU(pps->printer->fault_alert.shcmd,"show fault"))
118 (pps->printer->fault_alert.shcmd ?
119 pps->printer->fault_alert.shcmd : "??"),
148 if (STREQU(pps->printer->fault_alert.shcmd,"show fault"))
H A Ddisp2.c101 if (!SAME(pp->fault_alert.shcmd,
102 op->fault_alert.shcmd) ||
113 if (pp->fault_alert.shcmd)
H A Dfncs.c645 if ((_form->alert.shcmd = alertbuf.shcmd) != NULL) {
759 if (pf->alert.shcmd)
760 Free (pf->alert.shcmd);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmdinit.c27 #include <shcmd.h>
H A Dcmd.h34 #include <shcmd.h>
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Dgetform.c110 alertp->shcmd = 0;
H A Dputform.c111 alertp->shcmd
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c249 alert.shcmd = makestr(optarg, " ", getname(), (char *)0);
251 alert.shcmd = strdup(optarg);
365 if (action == any_alert && STREQU(alert.shcmd, NAME_NONE)) {
381 && !alert.shcmd
386 || action == any_alert && !alert.shcmd
605 alert.shcmd = 0;
646 alert.shcmd = 0;
727 !alert.shcmd && !p_new_alert->shcmd
732 if (p_new_alert->shcmd)
[all...]
/illumos-gate/usr/src/lib/libcmd/amd64/include/ast/
H A Dcmd.h43 #include <shcmd.h>
/illumos-gate/usr/src/lib/libcmd/i386/include/ast/
H A Dcmd.h43 #include <shcmd.h>
/illumos-gate/usr/src/lib/libcmd/sparc/include/ast/
H A Dcmd.h43 #include <shcmd.h>
/illumos-gate/usr/src/lib/libcmd/sparcv9/include/ast/
H A Dcmd.h43 #include <shcmd.h>
/illumos-gate/usr/src/cmd/init/
H A Dinit.c1516 getcmd(struct CMD_LINE *cmd, char *shcmd) argument
1606 for (proceed = TRUE, ptr = shcmd, state = ID, lastc = '\0';
1638 if (state == ID && c == '#' && ptr == shcmd) {
1656 if ((i = ptr - shcmd) < 1 || i > 4) {
1659 bcopy(shcmd, &cmd->c_id[0], i);
1660 ptr = shcmd;
1670 for (cmd->c_levels = 0, ptr1 = shcmd;
1682 ptr = shcmd; /* Reset the buffer */
1688 * Null terminate the string in shcmd buffer and
1694 if (ptr == shcmd) {
[all...]
/illumos-gate/usr/src/lib/libast/
H A DMakefile125 shcmd.h \
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-msgs.c564 p->fault_alert.shcmd = strdup("mail");
598 p->fault_alert.shcmd = strdup("mail");
H A Dlpsched-printers.c218 if (tmp->fault_alert.shcmd != NULL) {
221 tmp->fault_alert.shcmd);

Completed in 133 milliseconds

12