]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/client.h
Merge changes from CUPS 1.4svn-r7961.
[thirdparty/cups.git] / scheduler / client.h
index baeef5f6589b8af57c07fe6eeb284e6a6a721fae..6ea7208890aa84ece980b945fca1287a4f3058e4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: client.h 6949 2007-09-12 21:33:23Z mike $"
+ * "$Id: client.h 7935 2008-09-11 01:54:11Z mike $"
  *
  *   Client definitions for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -17,6 +17,7 @@
 #  include <Security/Authorization.h>
 #endif /* HAVE_AUTHORIZATION_H */
 
+
 /*
  * HTTP client structure...
  */
@@ -30,6 +31,7 @@ struct cupsd_client_s
   time_t               start;          /* Request start time */
   http_state_t         operation;      /* Request operation */
   off_t                        bytes;          /* Bytes transferred for this request */
+  int                  type;           /* AuthType for username */
   char                 username[256],  /* Username from Authorization: line */
                        password[33],   /* Password from Authorization: line */
                        uri[HTTP_MAX_URI],
@@ -92,8 +94,10 @@ VAR cups_array_t     *Listeners      VALUE(NULL);
                                        /* Listening sockets */
 VAR time_t             ListeningPaused VALUE(0);
                                        /* Time when listening was paused */
-VAR cups_array_t       *Clients        VALUE(NULL);
+VAR cups_array_t       *Clients        VALUE(NULL),
                                        /* HTTP clients */
+                       *ActiveClients  VALUE(NULL);
+                                       /* Active HTTP clients */
 VAR http_addrlist_t    *ServerAddrs    VALUE(NULL);
                                        /* Server address(es) */
 VAR char               *ServerHeader   VALUE(NULL);
@@ -131,5 +135,5 @@ extern void cupsdWriteClient(cupsd_client_t *con);
 
 
 /*
- * End of "$Id: client.h 6949 2007-09-12 21:33:23Z mike $".
+ * End of "$Id: client.h 7935 2008-09-11 01:54:11Z mike $".
  */