/*
- * "$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.
*
# include <Security/Authorization.h>
#endif /* HAVE_AUTHORIZATION_H */
+
/*
* HTTP client structure...
*/
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],
/* 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);
/*
- * 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 $".
*/