Home | History | Annotate | Download | only in microhttpd
      1 /*
      2      This file is part of libmicrohttpd
      3      Copyright (C) 2007 Lymba
      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 
     20 /**
     21  * @file reason_phrase.c
     22  * @brief  Tables of the string response phrases
     23  * @author Elliot Glaysher
     24  */
     25 
     26 #ifndef REASON_PHRASE_H
     27 #define REASON_PHRASE_H
     28 
     29 /**
     30  * Returns the string reason phrase for a response code.
     31  *
     32  * If we don't have a string for a status code, we give the first
     33  * message in that status code class.
     34  */
     35 const char *MHD_get_reason_phrase_for (unsigned int code);
     36 
     37 #endif
     38