]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/printers.h
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / scheduler / printers.h
index 26f1a6537e5b5df35c5fda9f52ae5faba51b8acd..c63b4711f06cfe03817d52a61997bd3300ce8cb4 100644 (file)
@@ -1,16 +1,14 @@
 /*
- * "$Id$"
- *
  * Printer definitions for the CUPS scheduler.
  *
- * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2007-2016 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/".
+ * missing or damaged, see the license at "http://www.cups.org/".
  */
 
 #ifdef HAVE_DNSSD
@@ -59,6 +57,7 @@ typedef struct cupsd_job_s cupsd_job_t;
 
 struct cupsd_printer_s
 {
+  _cups_rwlock_t lock;                 /* Concurrency lock for background updates */
   char         *uri,                   /* Printer URI */
                *uuid,                  /* Printer UUID */
                *hostname,              /* Host printer resides on */
@@ -73,6 +72,7 @@ struct cupsd_printer_s
                *error_policy;          /* Error policy */
   cupsd_policy_t *op_policy_ptr;       /* Pointer to operation policy */
   int          shared;                 /* Shared? */
+  int          temporary;              /* Temporary queue? */
   int          accepting;              /* Accepting jobs? */
   int          holding_new_jobs;       /* Holding new jobs for printing? */
   int          in_implicit_class;      /* In an implicit class? */
@@ -191,8 +191,3 @@ extern const char   *cupsdValidateDest(const char *uri,
                                           cups_ptype_t *dtype,
                                           cupsd_printer_t **printer);
 extern void            cupsdWritePrintcap(void);
-
-
-/*
- * End of "$Id$".
- */