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
37
int
38
MHD_connection_get_fdset
(
struct
MHD_Connection
*connection,
39
fd_set * read_fd_set,
40
fd_set * write_fd_set,
41
fd_set * except_fd_set,
int
*max_fd);
42
48
int
MHD_connection_get_pollfd
(
struct
MHD_Connection
*connection,
49
struct
MHD_Pollfd
*p);
50
51
void
MHD_set_http_callbacks_
(
struct
MHD_Connection
*connection);
52
53
int
MHD_connection_handle_read
(
struct
MHD_Connection
*connection);
54
55
int
MHD_connection_handle_write
(
struct
MHD_Connection
*connection);
56
57
int
MHD_connection_handle_idle
(
struct
MHD_Connection
*connection);
58
63
void
MHD_connection_close
(
struct
MHD_Connection
*connection,
64
enum
MHD_RequestTerminationCode
termination_code);
65
66
#endif
src
daemon
connection.h
Generated by
1.8.3.1