GNU libmicrohttpd
0.9.5
Main Page
Data Structures
Files
File List
Globals
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
45
int
46
MHD_connection_get_fdset
(
struct
MHD_Connection
*connection,
47
fd_set * read_fd_set,
48
fd_set * write_fd_set,
49
fd_set * except_fd_set,
int
*max_fd);
50
51
60
int
61
MHD_connection_get_pollfd
(
struct
MHD_Connection
*connection,
62
struct
MHD_Pollfd
*p);
63
64
70
void
71
MHD_set_http_callbacks_
(
struct
MHD_Connection
*connection);
72
73
84
int
85
MHD_connection_handle_read
(
struct
MHD_Connection
*connection);
86
87
98
int
99
MHD_connection_handle_write
(
struct
MHD_Connection
*connection);
100
101
112
int
113
MHD_connection_handle_idle
(
struct
MHD_Connection
*connection);
114
115
123
void
124
MHD_connection_close
(
struct
MHD_Connection
*connection,
125
enum
MHD_RequestTerminationCode
termination_code);
126
127
128
#endif
src
daemon
connection.h
Generated by
1.8.1.2