/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getprinter.c | 23 * nsswitch "printers" database. 31 static const char *printers = "/etc/printers.conf"; variable 203 printers,
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns_cmn_kvp.c | 153 char **printers; local 155 for (printers = string_to_value((*attrs)->key, 157 printers != NULL && *printers != NULL; printers++) { 159 ns_printer_get_name(*printers, NULL); 167 ns_printer_t **printers; local 169 for (printers = string_to_value((*attrs)->key, 171 printers != NULL && *printers ! [all...] |
H A D | ns_bsd_addr.c | 420 * ns_bsd_addr_t **(return) - a list of bsd addresses for all printers 430 ns_printer_t **printers; local 434 for (printers = ns_printer_get_list(NULL); 435 printers != NULL && *printers != NULL; printers++) { 438 if (strcmp(NS_NAME_ALL, (*printers)->name) == 0) 441 if ((addr = ns_get_value(NS_KEY_BSDADDR, *printers)) != NULL) { 443 addr->printer = strdup((*printers)->name); 444 addr->pname = strdup((*printers) 521 char **printers; local [all...] |
/illumos-gate/usr/src/cmd/print/lpget/ |
H A D | lpget.c | 160 ns_printer_t **printers = ns_printer_get_list(ns); local 162 while (printers != NULL && *printers != NULL) { 163 exit_code += display_value(*printers, 164 (*printers)->name, keys); 165 printers++;
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | printer.c | 152 papiPrinterListFree(papi_printer_t *printers) argument 154 if (printers != NULL) { 157 for (i = 0; printers[i] != NULL; i++) 158 papiPrinterFree(printers[i]); 159 free(printers);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 69 char **printers = NULL; local 75 printers = interest_list(svc); 78 list_append(&printers, strdup(pname)); 81 if (printers == NULL) 84 for (i = 0; printers[i] != NULL; i++) { 85 char *printer = printers[i]; 103 free(printers);
|
H A D | lpc.c | 429 char **printers; local 440 if ((printers = interest_list(svc)) != NULL) { 443 for (i = 0; printers[i] != NULL; i++) { 444 av[1] = printers[i];
|
H A D | common.c | 532 papi_printer_t *printers = NULL; local 536 status = papiPrintersList(svc, keys, NULL, &printers); 537 if ((status == PAPI_OK) && (printers != NULL)) { 540 for (i = 0; printers[i] != NULL; i++) { 542 papiPrinterGetAttributeList(printers[i]); 550 papiPrinterListFree(printers);
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | printer.c | 57 papiPrinterListFree(papi_printer_t *printers) argument 59 if (printers != NULL) { 62 for (i = 0; printers[i] != NULL; i++) 63 papiPrinterFree(printers[i]); 64 free(printers); 68 /* Enumerate a list of printers from the loaded print service. */ 71 papi_filter_t *filter, papi_printer_t **printers) 77 if ((svc == NULL) || (printers == NULL)) 99 *printers = NULL; 108 list_append(printers, 70 printers_from_service(service_t *svc, char **requested_attrs, papi_filter_t *filter, papi_printer_t **printers) argument 172 printers_from_name_service(service_t *svc, char **requested_attrs, papi_filter_t *filter, papi_printer_t **printers) argument 211 papiPrintersList(papi_service_t handle, char **requested_attrs, papi_filter_t *filter, papi_printer_t **printers) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | printer.c | 52 papiPrinterListFree(papi_printer_t *printers) argument 54 if (printers != NULL) { 57 for (i = 0; printers[i] != NULL; i++) 58 papiPrinterFree(printers[i]); 59 free(printers); 64 * Enumeration of printers is not part of the IPP specification, so many 65 * servers will probably not respond back with a list of printers, but 66 * CUPS has implemented an extension to IPP to enumerate printers and 83 papi_filter_t *filter, papi_printer_t **printers) 90 if ((svc == NULL) || (printers 82 papiPrintersList(papi_service_t handle, char **requested_attrs, papi_filter_t *filter, papi_printer_t **printers) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | printer.c | 48 papiPrinterListFree(papi_printer_t *printers) argument 50 if (printers != NULL) { 53 for (i = 0; printers[i] != NULL; i++) 54 papiPrinterFree(printers[i]); 55 free(printers); 61 papi_filter_t *filter, papi_printer_t **printers) 75 if ((handle == NULL) || (printers == NULL)) 104 list_append(printers, p); 131 list_append(printers, p); 60 papiPrintersList(papi_service_t handle, char **requested_attrs, papi_filter_t *filter, papi_printer_t **printers) argument
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | filters.h | 81 char ** printers; /* list of valid printers */ member in struct:FILTER 122 char ** printers; member in struct:_FILTER
|