aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/session.h')
-rw-r--r--src/daemon/session.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/daemon/session.h b/src/daemon/session.h
index 269c2f17..59b99004 100644
--- a/src/daemon/session.h
+++ b/src/daemon/session.h
@@ -19,23 +19,23 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file session.h 22 * @file connection.h
23 * @brief Methods for managing sessions 23 * @brief Methods for managing connections
24 * @author Daniel Pittman 24 * @author Daniel Pittman
25 * @author Christian Grothoff 25 * @author Christian Grothoff
26 */ 26 */
27 27
28#ifndef SESSION_H 28#ifndef CONNECTION_H
29#define SESSION_H 29#define CONNECTION_H
30 30
31 31
32/** 32/**
33 * Obtain the select sets for this session. 33 * Obtain the select sets for this connection.
34 * 34 *
35 * @return MHD_YES on success 35 * @return MHD_YES on success
36 */ 36 */
37int 37int
38MHD_session_get_fdset(struct MHD_Session * session, 38MHD_connection_get_fdset(struct MHD_Connection * connection,
39 fd_set * read_fd_set, 39 fd_set * read_fd_set,
40 fd_set * write_fd_set, 40 fd_set * write_fd_set,
41 fd_set * except_fd_set, 41 fd_set * except_fd_set,
@@ -44,10 +44,10 @@ MHD_session_get_fdset(struct MHD_Session * session,
44 44
45/** 45/**
46 * Call the handler of the application for this 46 * Call the handler of the application for this
47 * session. 47 * connection.
48 */ 48 */
49void 49void
50MHD_call_session_handler(struct MHD_Session * session); 50MHD_call_connection_handler(struct MHD_Connection * connection);
51 51
52/** 52/**
53 * This function handles a particular connection when it has been 53 * This function handles a particular connection when it has been
@@ -56,7 +56,7 @@ MHD_call_session_handler(struct MHD_Session * session);
56 * to handle reads. 56 * to handle reads.
57 */ 57 */
58int 58int
59MHD_session_handle_read(struct MHD_Session * session); 59MHD_connection_handle_read(struct MHD_Connection * connection);
60 60
61 61
62/** 62/**
@@ -66,7 +66,7 @@ MHD_session_handle_read(struct MHD_Session * session);
66 * (multithreaded, external select, internal select) call this function 66 * (multithreaded, external select, internal select) call this function
67 */ 67 */
68int 68int
69MHD_session_handle_write(struct MHD_Session * session); 69MHD_connection_handle_write(struct MHD_Connection * connection);
70 70
71 71
72#endif 72#endif