]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/subscriptions.h
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / scheduler / subscriptions.h
index 15e11a445f7fb527a8f62a53bbb3c3d638677682..6ca6ac1924a580056da3a65f280d6bd47cde8b7a 100644 (file)
@@ -1,16 +1,14 @@
 /*
- * "$Id: subscriptions.h 7253 2008-01-23 22:18:15Z mike $"
+ * Subscription definitions for the CUPS scheduler.
  *
- *   Subscription definitions for the Common UNIX Printing System (CUPS) scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
- *   Copyright 2007-2008 by Apple Inc.
- *   Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- *   These coded instructions, statements, and computer programs are the
- *   property of Apple Inc. and are protected by Federal copyright
- *   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- *   which should have been included with this file.  If this file is
- *   file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file.  If this file is
+ * missing or damaged, see the license at "http://www.cups.org/".
  */
 
 /*
@@ -80,7 +78,7 @@ typedef struct cupsd_event_s          /**** Event structure ****/
   ipp_t                        *attrs;         /* Notification message */
   cupsd_printer_t      *dest;          /* Associated printer, if any */
   cupsd_job_t          *job;           /* Associated job, if any */
-} cupsd_event_t; 
+} cupsd_event_t;
 
 typedef struct cupsd_subscription_s    /**** Subscription structure ****/
 {
@@ -100,9 +98,8 @@ typedef struct cupsd_subscription_s  /**** Subscription structure ****/
   time_t               last;           /* Time of last notification */
   time_t               expire;         /* Lease expiration time */
   int                  first_event_id, /* First event-id in cache */
-                       next_event_id,  /* Next event-id to use */
-                       num_events;     /* Number of cached events */
-  cupsd_event_t                **events;       /* Cached events */
+                       next_event_id;  /* Next event-id to use */
+  cups_array_t         *events;        /* Cached events */
 } cupsd_subscription_t;
 
 
@@ -160,8 +157,3 @@ extern void cupsdExpireSubscriptions(cupsd_printer_t *dest,
 extern void    cupsdLoadAllSubscriptions(void);
 extern void    cupsdSaveAllSubscriptions(void);
 extern void    cupsdStopAllNotifiers(void);
-
-
-/*
- * End of "$Id: subscriptions.h 7253 2008-01-23 22:18:15Z mike $".
- */