aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r--src/daemon/internal.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index dcd9386d..8c4b8eb4 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -313,9 +313,8 @@ char *MHD_state_to_string (enum MHD_CONNECTION_STATE state);
313 * @param max_bytes maximum number of bytes to receive 313 * @param max_bytes maximum number of bytes to receive
314 * @return number of bytes written to write_to 314 * @return number of bytes written to write_to
315 */ 315 */
316typedef ssize_t (*ReceiveCallback)(struct MHD_Connection * conn, 316typedef ssize_t (*ReceiveCallback) (struct MHD_Connection * conn,
317 void * write_to, 317 void *write_to, size_t max_bytes);
318 size_t max_bytes);
319 318
320 319
321/** 320/**
@@ -326,9 +325,8 @@ typedef ssize_t (*ReceiveCallback)(struct MHD_Connection * conn,
326 * @param max_bytes maximum number of bytes to transmit 325 * @param max_bytes maximum number of bytes to transmit
327 * @return number of bytes transmitted 326 * @return number of bytes transmitted
328 */ 327 */
329typedef ssize_t (*TransmitCallback)(struct MHD_Connection * conn, 328typedef ssize_t (*TransmitCallback) (struct MHD_Connection * conn,
330 const void * write_to, 329 const void *write_to, size_t max_bytes);
331 size_t max_bytes);
332 330
333 331
334 332