diff options
Diffstat (limited to 'src/microhttpd/connection_https.c')
-rw-r--r-- | src/microhttpd/connection_https.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c index a03b45e2..0eea4837 100644 --- a/src/microhttpd/connection_https.c +++ b/src/microhttpd/connection_https.c | |||
@@ -38,8 +38,8 @@ | |||
38 | * Give gnuTLS chance to work on the TLS handshake. | 38 | * Give gnuTLS chance to work on the TLS handshake. |
39 | * | 39 | * |
40 | * @param connection connection to handshake on | 40 | * @param connection connection to handshake on |
41 | * @return MHD_YES on error or if the handshake is progressing | 41 | * @return #MHD_YES on error or if the handshake is progressing |
42 | * MHD_NO if the handshake has completed successfully | 42 | * #MHD_NO if the handshake has completed successfully |
43 | * and we should start to read/write data | 43 | * and we should start to read/write data |
44 | */ | 44 | */ |
45 | static int | 45 | static int |
@@ -90,7 +90,7 @@ run_tls_handshake (struct MHD_Connection *connection) | |||
90 | * processing. | 90 | * processing. |
91 | * | 91 | * |
92 | * @param connection the source connection | 92 | * @param connection the source connection |
93 | * @return always MHD_YES (we should continue to process the connection) | 93 | * @return always #MHD_YES (we should continue to process the connection) |
94 | */ | 94 | */ |
95 | static int | 95 | static int |
96 | MHD_tls_connection_handle_read (struct MHD_Connection *connection) | 96 | MHD_tls_connection_handle_read (struct MHD_Connection *connection) |
@@ -107,7 +107,7 @@ MHD_tls_connection_handle_read (struct MHD_Connection *connection) | |||
107 | * will forward all write requests to the underlying daemon unless | 107 | * will forward all write requests to the underlying daemon unless |
108 | * the connection has been marked for closing. | 108 | * the connection has been marked for closing. |
109 | * | 109 | * |
110 | * @return always MHD_YES (we should continue to process the connection) | 110 | * @return always #MHD_YES (we should continue to process the connection) |
111 | */ | 111 | */ |
112 | static int | 112 | static int |
113 | MHD_tls_connection_handle_write (struct MHD_Connection *connection) | 113 | MHD_tls_connection_handle_write (struct MHD_Connection *connection) |
@@ -125,8 +125,8 @@ MHD_tls_connection_handle_write (struct MHD_Connection *connection) | |||
125 | * call this function. | 125 | * call this function. |
126 | * | 126 | * |
127 | * @param connection being handled | 127 | * @param connection being handled |
128 | * @return MHD_YES if we should continue to process the | 128 | * @return #MHD_YES if we should continue to process the |
129 | * connection (not dead yet), MHD_NO if it died | 129 | * connection (not dead yet), #MHD_NO if it died |
130 | */ | 130 | */ |
131 | static int | 131 | static int |
132 | MHD_tls_connection_handle_idle (struct MHD_Connection *connection) | 132 | MHD_tls_connection_handle_idle (struct MHD_Connection *connection) |
@@ -167,6 +167,8 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection) | |||
167 | /** | 167 | /** |
168 | * Set connection callback function to be used through out | 168 | * Set connection callback function to be used through out |
169 | * the processing of this secure connection. | 169 | * the processing of this secure connection. |
170 | * | ||
171 | * @param connection which callbacks should be modified | ||
170 | */ | 172 | */ |
171 | void | 173 | void |
172 | MHD_set_https_callbacks (struct MHD_Connection *connection) | 174 | MHD_set_https_callbacks (struct MHD_Connection *connection) |