aboutsummaryrefslogtreecommitdiff
path: root/include/webserver_gnunet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/webserver_gnunet.h')
-rw-r--r--include/webserver_gnunet.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/include/webserver_gnunet.h b/include/webserver_gnunet.h
index e69de29b..7719baec 100644
--- a/include/webserver_gnunet.h
+++ b/include/webserver_gnunet.h
@@ -0,0 +1,44 @@
1/*
2 This file is part of GNUnet.
3 (C) 2006 Christian Grothoff (and other contributing authors)
4 (C) 2002 Luis Figueiredo (stdio@netc.pt)
5
6 GNUnet is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published
8 by the Free Software Foundation; either version 2, or (at your
9 option) any later version.
10
11 GNUnet is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNUnet; see the file COPYING. If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
20*/
21
22/**
23 * @file include/webserver_gnunet.h
24 * @brief public interface to libwebserver_gnunet
25 *
26 * @author Christian Grothoff
27 * @author Luis Figueiredo
28 */
29
30struct web_server;
31
32int web_server_init(struct web_server * handle,
33 int port,
34 int flags);
35
36void web_server_shutdown(struct web_server *);
37
38int web_server_addhandler(struct web_server * hande,
39 const char *,
40 void (*handler)(),
41 void * hctx);
42
43int web_server_run(struct web_server *);
44