]>
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 | * |
503b54c9 MS |
7 | * These coded instructions, statements, and computer programs are the |
8 | * property of Apple Inc. and are protected by Federal copyright | |
9 | * law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | * which should have been included with this file. If this file is | |
57b7b66b | 11 | * missing or damaged, see the license at "http://www.cups.org/". |
ef416fc2 | 12 | */ |
13 | ||
14 | ||
15 | /* | |
16 | * Prototypes... | |
17 | */ | |
18 | ||
19 | extern cupsd_printer_t *cupsdAddClass(const char *name); | |
20 | extern void cupsdAddPrinterToClass(cupsd_printer_t *c, | |
21 | cupsd_printer_t *p); | |
f8b3a85b | 22 | extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c, |
ef416fc2 | 23 | cupsd_printer_t *p); |
f8b3a85b | 24 | extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p); |
ef416fc2 | 25 | extern cupsd_printer_t *cupsdFindAvailablePrinter(const char *name); |
26 | extern cupsd_printer_t *cupsdFindClass(const char *name); | |
27 | extern void cupsdLoadAllClasses(void); | |
28 | extern void cupsdSaveAllClasses(void); |