diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-10-11 16:04:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-10-11 16:04:19 +0000 |
commit | 0c4c8d952f0f81573b8f178afcd3e28f34380363 (patch) | |
tree | 179b66363ed0a3f0098831627d76c064d9771f05 /src/daemon/reason_phrase.h | |
parent | da5da2c9e9ea3f557c3a0cfffbda0e3e2f6c33c1 (diff) | |
download | libmicrohttpd-0c4c8d952f0f81573b8f178afcd3e28f34380363.tar.gz libmicrohttpd-0c4c8d952f0f81573b8f178afcd3e28f34380363.zip |
mantis 1285
Diffstat (limited to 'src/daemon/reason_phrase.h')
-rw-r--r-- | src/daemon/reason_phrase.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/daemon/reason_phrase.h b/src/daemon/reason_phrase.h new file mode 100644 index 00000000..b6376a2f --- /dev/null +++ b/src/daemon/reason_phrase.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | This file is part of libmicrohttpd | ||
3 | (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* | ||
36 | MHD_get_reason_phrase_for(unsigned int code); | ||
37 | |||
38 | #endif | ||