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 
00037 int
00038 MHD_connection_get_fdset (struct MHD_Connection *connection,
00039                           fd_set * read_fd_set,
00040                           fd_set * write_fd_set,
00041                           fd_set * except_fd_set, int *max_fd);
00042 
00043 void MHD_set_http_calbacks (struct MHD_Connection *connection);
00044 
00045 int MHD_connection_handle_read (struct MHD_Connection *connection);
00046 
00047 int MHD_connection_handle_write (struct MHD_Connection *connection);
00048 
00049 int MHD_connection_handle_idle (struct MHD_Connection *connection);
00050 
00055 void MHD_connection_close (struct MHD_Connection *connection,
00056                            enum MHD_RequestTerminationCode termination_code);
00057 
00058 #endif

Generated on Fri Feb 27 18:31:58 2009 for GNU libmicrohttpd by  doxygen 1.5.7.1