aboutsummaryrefslogtreecommitdiff
path: root/src/examples/mhd2spdy_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/mhd2spdy_http.h')
-rw-r--r--src/examples/mhd2spdy_http.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/examples/mhd2spdy_http.h b/src/examples/mhd2spdy_http.h
new file mode 100644
index 00000000..0b5dde99
--- /dev/null
+++ b/src/examples/mhd2spdy_http.h
@@ -0,0 +1,43 @@
1/*
2 Copyright (C) 2013 Andrey Uzunov
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18/**
19 * @file structures.h
20 * @author Andrey Uzunov
21 */
22
23#ifndef HTTP_H
24#define HTTP_H
25
26#include "mhd2spdy_structures.h"
27
28int
29http_cb_request (void *cls,
30 struct MHD_Connection *connection,
31 const char *url,
32 const char *method,
33 const char *version,
34 const char *upload_data,
35 size_t *upload_data_size,
36 void **ptr);
37
38void * http_log_cb(void * cls, const char * uri);
39
40void
41http_create_response(struct Proxy* proxy, char **nv);
42
43#endif