]> git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/classes.h
33f1e555206901ffbbc5443d1dcdb579deec7d06
[thirdparty/cups.git] / scheduler / classes.h
1 /*
2 * Printer class definitions for the CUPS scheduler.
3 *
4 * Copyright 2007-2011 by Apple Inc.
5 * Copyright 1997-2005 by Easy Software Products, all rights reserved.
6 *
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
11 * file is missing or damaged, see the license at "http://www.cups.org/".
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);
22 extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c,
23 cupsd_printer_t *p);
24 extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p);
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);