]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/printers.h
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / printers.h
index 2f740a02d9e573c99db072ba02fa2d68560c5b2b..79872ecddaf3b18bae74a5fb7f14b6d066922c79 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * "$Id: printers.h 4775 2005-10-12 14:27:37Z mike $"
+ * "$Id: printers.h 5083 2006-02-06 02:57:43Z mike $"
  *
  *   Printer definitions for the Common UNIX Printing System (CUPS) scheduler.
  *
- *   Copyright 1997-2005 by Easy Software Products, all rights reserved.
+ *   Copyright 1997-2006 by Easy Software Products, all rights reserved.
  *
  *   These coded instructions, statements, and computer programs are the
  *   property of Easy Software Products and are protected by Federal
@@ -72,15 +72,17 @@ typedef struct cupsd_printer_s
   struct cupsd_printer_s **printers;   /* Printers in class */
   int          quota_period,           /* Period for quotas */
                page_limit,             /* Maximum number of pages */
-               k_limit,                /* Maximum number of kilobytes */
-               num_quotas;             /* Number of quota records */
-  cupsd_quota_t        *quotas;                /* Quota records */
+               k_limit;                /* Maximum number of kilobytes */
+  cups_array_t *quotas;                /* Quota records */
   int          deny_users,             /* 1 = deny, 0 = allow */
                num_users;              /* Number of allowed/denied users */
   const char   **users;                /* Allowed/denied users */
   int          num_history;            /* Number of history collections */
   ipp_t                **history;              /* History data */
   int          sequence_number;        /* Increasing sequence number */
+#ifdef __APPLE__
+  char         *recoverable;           /* com.apple.print.recoverable-message */
+#endif /* __APPLE__ */
 } cupsd_printer_t;
 
 
@@ -108,7 +110,6 @@ VAR cupsd_policy_t  *DefaultPolicyPtr
  */
 
 extern cupsd_printer_t *cupsdAddPrinter(const char *name);
-extern void            cupsdAddPrinterFilter(cupsd_printer_t *p, const char *filter);
 extern void            cupsdAddPrinterHistory(cupsd_printer_t *p);
 extern void            cupsdAddPrinterUser(cupsd_printer_t *p, const char *username);
 extern cupsd_quota_t   *cupsdAddQuota(cupsd_printer_t *p, const char *username);
@@ -142,5 +143,5 @@ extern char         *cupsdSanitizeURI(const char *uri, char *buffer,
 
 
 /*
- * End of "$Id: printers.h 4775 2005-10-12 14:27:37Z mike $".
+ * End of "$Id: printers.h 5083 2006-02-06 02:57:43Z mike $".
  */