summaryrefslogtreecommitdiff
path: root/scheduler/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'scheduler/client.h')
-rw-r--r--scheduler/client.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/scheduler/client.h b/scheduler/client.h
index 7beb4aab..17c05d02 100644
--- a/scheduler/client.h
+++ b/scheduler/client.h
@@ -1,5 +1,5 @@
/*
- * "$Id: client.h 9652 2011-03-25 21:25:38Z mike $"
+ * "$Id: client.h 10374 2012-03-22 20:30:20Z mike $"
*
* Client definitions for the CUPS scheduler.
*
@@ -32,8 +32,10 @@ struct cupsd_client_s
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 */
+ char username[HTTP_MAX_VALUE],
+ /* Username from Authorization: line */
+ password[HTTP_MAX_VALUE],
+ /* Password from Authorization: line */
uri[HTTP_MAX_URI],
/* Localized URL/URI for GET/PUT */
*filename, /* Filename of output file */
@@ -131,7 +133,12 @@ extern void cupsdStopListening(void);
extern void cupsdUpdateCGI(void);
extern void cupsdWriteClient(cupsd_client_t *con);
+#ifdef HAVE_SSL
+extern int cupsdEndTLS(cupsd_client_t *con);
+extern int cupsdStartTLS(cupsd_client_t *con);
+#endif /* HAVE_SSL */
+
/*
- * End of "$Id: client.h 9652 2011-03-25 21:25:38Z mike $".
+ * End of "$Id: client.h 10374 2012-03-22 20:30:20Z mike $".
*/