GNU libmicrohttpd  0.9.29
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
connection.h
Go to the documentation of this file.
1 /*
2  This file is part of libmicrohttpd
3  (C) 2007 Daniel Pittman and Christian Grothoff
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
27 #ifndef CONNECTION_H
28 #define CONNECTION_H
29 
30 #include "internal.h"
31 
32 
38 void
39 MHD_set_http_callbacks_ (struct MHD_Connection *connection);
40 
41 
52 int
53 MHD_connection_handle_read (struct MHD_Connection *connection);
54 
55 
66 int
67 MHD_connection_handle_write (struct MHD_Connection *connection);
68 
69 
80 int
81 MHD_connection_handle_idle (struct MHD_Connection *connection);
82 
83 
91 void
92 MHD_connection_close (struct MHD_Connection *connection,
93  enum MHD_RequestTerminationCode termination_code);
94 
95 
96 #if EPOLL_SUPPORT
97 
105 int
106 MHD_connection_epoll_update_ (struct MHD_Connection *connection);
107 #endif
108 
109 
110 #endif
int MHD_connection_handle_write(struct MHD_Connection *connection)
Definition: connection.c:1916
MHD_RequestTerminationCode
Definition: microhttpd.h:875
int MHD_connection_handle_read(struct MHD_Connection *connection)
Definition: connection.c:1854
internal shared structures
int MHD_connection_handle_idle(struct MHD_Connection *connection)
Definition: connection.c:2116
void MHD_set_http_callbacks_(struct MHD_Connection *connection)
Definition: connection.c:2599
void MHD_connection_close(struct MHD_Connection *connection, enum MHD_RequestTerminationCode termination_code)
Definition: connection.c:261