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 00036 int 00037 MHD_connection_get_fdset (struct MHD_Connection *connection, 00038 fd_set * read_fd_set, 00039 fd_set * write_fd_set, 00040 fd_set * except_fd_set, int *max_fd); 00041 00051 int MHD_connection_handle_read (struct MHD_Connection *connection); 00052 00053 00063 int MHD_connection_handle_write (struct MHD_Connection *connection); 00064 00065 00075 int MHD_connection_handle_idle (struct MHD_Connection *connection); 00076 00077 #endif