]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
503b54c9 | 2 | * Printer class definitions for the CUPS scheduler. |
ef416fc2 | 3 | * |
503b54c9 MS |
4 | * Copyright 2007-2011 by Apple Inc. |
5 | * Copyright 1997-2005 by Easy Software Products, all rights reserved. | |
ef416fc2 | 6 | * |
e3101897 | 7 | * Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
ef416fc2 | 8 | */ |
9 | ||
10 | ||
11 | /* | |
12 | * Prototypes... | |
13 | */ | |
14 | ||
15 | extern cupsd_printer_t *cupsdAddClass(const char *name); | |
16 | extern void cupsdAddPrinterToClass(cupsd_printer_t *c, | |
17 | cupsd_printer_t *p); | |
f8b3a85b | 18 | extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c, |
ef416fc2 | 19 | cupsd_printer_t *p); |
f8b3a85b | 20 | extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p); |
ef416fc2 | 21 | extern cupsd_printer_t *cupsdFindAvailablePrinter(const char *name); |
22 | extern cupsd_printer_t *cupsdFindClass(const char *name); | |
23 | extern void cupsdLoadAllClasses(void); | |
24 | extern void cupsdSaveAllClasses(void); |