]> git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/classes.h
License change: Apache License, Version 2.0.
[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 * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
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);
18 extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c,
19 cupsd_printer_t *p);
20 extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p);
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);