connection.h

Go to the documentation of this file.
00001 /*
00002      This file is part of libmicrohttpd
00003      (C) 2007 Daniel Pittman and Christian Grothoff
00004 
00005      This library is free software; you can redistribute it and/or
00006      modify it under the terms of the GNU Lesser General Public
00007      License as published by the Free Software Foundation; either
00008      version 2.1 of the License, or (at your option) any later version.
00009 
00010      This library is distributed in the hope that it will be useful,
00011      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013      Lesser General Public License for more details.
00014 
00015      You should have received a copy of the GNU Lesser General Public
00016      License along with this library; if not, write to the Free Software
00017      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00018 */
00019 
00027 #ifndef CONNECTION_H
00028 #define CONNECTION_H
00029 
00030 #include "internal.h"
00031 
00032 
00045 int
00046 MHD_connection_get_fdset (struct MHD_Connection *connection,
00047                           fd_set * read_fd_set,
00048                           fd_set * write_fd_set,
00049                           fd_set * except_fd_set, int *max_fd);
00050 
00051 
00060 int 
00061 MHD_connection_get_pollfd (struct MHD_Connection *connection,
00062                            struct MHD_Pollfd *p);
00063 
00064 
00070 void 
00071 MHD_set_http_callbacks_ (struct MHD_Connection *connection);
00072 
00073 
00084 int 
00085 MHD_connection_handle_read (struct MHD_Connection *connection);
00086 
00087 
00098 int 
00099 MHD_connection_handle_write (struct MHD_Connection *connection);
00100 
00101 
00112 int 
00113 MHD_connection_handle_idle (struct MHD_Connection *connection);
00114 
00115 
00123 void 
00124 MHD_connection_close (struct MHD_Connection *connection,
00125                       enum MHD_RequestTerminationCode termination_code);
00126 
00127 
00128 #endif

Generated on 28 Jan 2013 for GNU libmicrohttpd by  doxygen 1.6.1