aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/reason_phrase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/reason_phrase.h')
-rw-r--r--src/daemon/reason_phrase.h38
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 */
35const char*
36MHD_get_reason_phrase_for(unsigned int code);
37
38#endif