diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-02 09:58:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-02 09:58:35 +0000 |
commit | 5150529fcdece8848459f6bab76f947d37a212e9 (patch) | |
tree | a919ac44650501c8fe4a723294cba771d8b998b6 /src | |
parent | 2b152f749e6274ab97baa09b9d1522803c76027f (diff) | |
download | gnunet-5150529fcdece8848459f6bab76f947d37a212e9.tar.gz gnunet-5150529fcdece8848459f6bab76f947d37a212e9.zip |
-dce
Diffstat (limited to 'src')
-rw-r--r-- | src/vpn/gnunet-helper-vpn-api.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/vpn/gnunet-helper-vpn-api.c b/src/vpn/gnunet-helper-vpn-api.c deleted file mode 100644 index d2b5673d0..000000000 --- a/src/vpn/gnunet-helper-vpn-api.c +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2010 Christian Grothoff | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file vpn/gnunet-helper-vpn-api.c | ||
23 | * @brief exposes the API (the convenience-functions) of dealing with the | ||
24 | * helper-vpn | ||
25 | * @author Philipp Toelke | ||
26 | */ | ||
27 | |||
28 | #include <platform.h> | ||
29 | #include <gnunet_common.h> | ||
30 | #include <gnunet_server_lib.h> | ||
31 | #include <gnunet_os_lib.h> | ||
32 | |||
33 | #include "gnunet-helper-vpn-api.h" | ||
34 | |||
35 | |||
36 | void | ||
37 | cleanup_helper (struct GNUNET_VPN_HELPER_Handle *handle) | ||
38 | { | ||
39 | stop_helper (handle); | ||
40 | GNUNET_free (handle); | ||
41 | } | ||
42 | |||
43 | struct GNUNET_VPN_HELPER_Handle * | ||
44 | start_helper (const char *ifname, const char *ipv6addr, const char *ipv6prefix, | ||
45 | const char *ipv4addr, const char *ipv4mask, | ||
46 | const char *process_name, GNUNET_SCHEDULER_Task restart_task, | ||
47 | GNUNET_SERVER_MessageTokenizerCallback cb, void *cb_cls) | ||
48 | { | ||
49 | |||