Lines Matching refs:cupsd_printer_t
40 static void add_printer_defaults(cupsd_printer_t *p);
41 static void add_printer_filter(cupsd_printer_t *p, mime_type_t *type,
43 static void add_printer_formats(cupsd_printer_t *p);
45 static void delete_printer_filters(cupsd_printer_t *p);
46 static void dirty_printer(cupsd_printer_t *p);
47 static void load_ppd(cupsd_printer_t *p);
56 cupsd_printer_t * /* O - New printer */
59 cupsd_printer_t *p; /* New printer */ in cupsdAddPrinter()
74 if ((p = calloc(1, sizeof(cupsd_printer_t))) == NULL) in cupsdAddPrinter()
704 cupsd_printer_t *p; /* Pointer to current printer/class */ in cupsdDeleteAllPrinters()
707 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdDeleteAllPrinters()
709 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdDeleteAllPrinters()
723 cupsd_printer_t *p, /* I - Printer to delete */ in cupsdDeletePrinter()
878 cupsd_printer_t *p; /* Current printer */ in cupsdDeleteTemporaryPrinters()
889 …for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Prin… in cupsdDeleteTemporaryPrinters()
901 cupsd_printer_t * /* O - Destination in list */
904 cupsd_printer_t key; /* Search key */ in cupsdFindDest()
908 return ((cupsd_printer_t *)cupsArrayFind(Printers, &key)); in cupsdFindDest()
916 cupsd_printer_t * /* O - Printer in list */
919 cupsd_printer_t *p; /* Printer in list */ in cupsdFindPrinter()
942 cupsd_printer_t *p; /* Current printer */ in cupsdLoadAllPrinters()
1418 cupsd_printer_t *p, /* I - Printer */ in cupsdRenamePrinter()
1479 cupsd_printer_t *printer; /* Current printer class */ in cupsdSaveAllPrinters()
1515 for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdSaveAllPrinters()
1517 printer = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdSaveAllPrinters()
1765 cupsd_printer_t *p, /* I - Printer */ in cupsdSetAuthInfoRequired()
1927 cupsdSetDeviceURI(cupsd_printer_t *p, /* I - Printer */ in cupsdSetDeviceURI()
1996 cupsd_printer_t *p, /* I - Printer */ in cupsdSetPrinterAttr()
2245 cupsdSetPrinterAttrs(cupsd_printer_t *p)/* I - Printer to setup */ in cupsdSetPrinterAttrs()
2609 cupsd_printer_t *p, /* I - Printer */ in cupsdSetPrinterReasons()
2750 cupsd_printer_t *p, /* I - Printer to change */ in cupsdSetPrinterState()
2836 cupsdStopPrinter(cupsd_printer_t *p, /* I - Printer to stop */ in cupsdStopPrinter()
2861 cupsd_printer_t *p, /* I - Printer */ in cupsdUpdatePrinterPPD()
2974 cupsd_printer_t *p; /* Current printer */ in cupsdUpdatePrinters()
2984 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdUpdatePrinters()
2986 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdUpdatePrinters()
3012 cupsd_printer_t **printer) /* O - Printer pointer */ in cupsdValidateDest()
3014 cupsd_printer_t *p; /* Current printer */ in cupsdValidateDest()
3135 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdValidateDest()
3137 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdValidateDest()
3164 cupsd_printer_t *p; /* Current printer */ in cupsdWritePrintcap()
3216 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdWritePrintcap()
3218 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdWritePrintcap()
3239 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdWritePrintcap()
3241 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdWritePrintcap()
3307 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdWritePrintcap()
3309 p = (cupsd_printer_t *)cupsArrayCurrent(Printers)) in cupsdWritePrintcap()
3316 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdWritePrintcap()
3318 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdWritePrintcap()
3340 add_printer_defaults(cupsd_printer_t *p)/* I - Printer */ in add_printer_defaults()
3453 cupsd_printer_t *p, /* I - Printer to add to */ in add_printer_filter()
3603 add_printer_formats(cupsd_printer_t *p) /* I - Printer */ in add_printer_formats()
3763 return (_cups_strcasecmp(((cupsd_printer_t *)first)->name, in compare_printers()
3764 ((cupsd_printer_t *)second)->name)); in compare_printers()
3774 cupsd_printer_t *p) /* I - Printer to remove from */ in delete_printer_filters()
3824 dirty_printer(cupsd_printer_t *p) /* I - Printer */ in dirty_printer()
3841 load_ppd(cupsd_printer_t *p) /* I - Printer */ in load_ppd()