1/* 2 * "$Id: classes.h 11093 2013-07-03 20:48:42Z msweet $" 3 * 4 * Printer class definitions for the CUPS scheduler. 5 * 6 * Copyright 2007-2011 by Apple Inc. 7 * Copyright 1997-2005 by Easy Software Products, all rights reserved. 8 * 9 * These coded instructions, statements, and computer programs are the 10 * property of Apple Inc. and are protected by Federal copyright 11 * law. Distribution and use rights are outlined in the file "LICENSE.txt" 12 * which should have been included with this file. If this file is 13 * file is missing or damaged, see the license at "http://www.cups.org/". 14 */ 15 16 17/* 18 * Prototypes... 19 */ 20 21extern cupsd_printer_t *cupsdAddClass(const char *name); 22extern void cupsdAddPrinterToClass(cupsd_printer_t *c, 23 cupsd_printer_t *p); 24extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c, 25 cupsd_printer_t *p); 26extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p); 27extern cupsd_printer_t *cupsdFindAvailablePrinter(const char *name); 28extern cupsd_printer_t *cupsdFindClass(const char *name); 29extern void cupsdLoadAllClasses(void); 30extern void cupsdSaveAllClasses(void); 31 32 33/* 34 * End of "$Id: classes.h 11093 2013-07-03 20:48:42Z msweet $". 35 */ 36