Searched refs:prbufp (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_printer.c | 319 PRINTER *prbufp; in configure_printer() local 326 prbufp = oldp; in configure_printer() 329 T = prbufp->printer_types; in configure_printer() 346 prbufp->banner = 0; in configure_printer() 347 prbufp->cpi.val = 0; in configure_printer() 348 prbufp->cpi.sc = 0; in configure_printer() 349 prbufp->device = 0; in configure_printer() 350 prbufp->dial_info = 0; in configure_printer() 351 prbufp->fault_rec = 0; in configure_printer() 352 prbufp->interface = 0; in configure_printer() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | okprinter.c | 49 okprinter(char *name, PRINTER *prbufp, int isput) in okprinter() argument 58 prbufp->remote in okprinter() 60 prbufp->device in okprinter() 61 || prbufp->interface in okprinter() 63 prbufp->fault_alert.shcmd in okprinter() 64 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter() 72 !emptylist(prbufp->modules) in okprinter() 73 && !STREQU(NAME_NONE, prbufp->modules[0]) in okprinter() 87 if (!prbufp->remote && isput && !okinterface(name, prbufp)) in okprinter() 93 if (!prbufp->remote && !prbufp->device && !prbufp->dial_info) in okprinter() [all …]
|
H A D | putprinter.c | 62 static int addPrintersPPD(char *name, PRINTER *prbufp); 89 putprinter(char *name, PRINTER *prbufp) in putprinter() argument 121 if (!okprinter(name, prbufp, 1)) { in putprinter() 156 if (prbufp->remote) { in putprinter() 162 if (prbufp->interface && (ignprinter & BAD_INTERFACE) == 0) { in putprinter() 163 if (Stat(prbufp->interface, &statbuf1) == -1) in putprinter() 174 if ((fdin = open_locked(prbufp->interface, "r", 0)) < 0) { in putprinter() 196 if ((prbufp->ppd != NULL) && (ppdopt)) in putprinter() 198 if (addPrintersPPD(name, prbufp) != 0) in putprinter() 214 stty = (prbufp->stty? Strdup(prbufp->stty) : 0); in putprinter() [all …]
|