aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_vpn_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_vpn_service.h')
-rw-r--r--src/include/gnunet_vpn_service.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_vpn_service.h b/src/include/gnunet_vpn_service.h
index fe21cff9b..c3f27fdce 100644
--- a/src/include/gnunet_vpn_service.h
+++ b/src/include/gnunet_vpn_service.h
@@ -20,7 +20,7 @@
20 20
21/** 21/**
22 * @file include/gnunet_vpn_service.h 22 * @file include/gnunet_vpn_service.h
23 * @brief API to access the VPN service. 23 * @brief API to access the VPN service.
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26#ifndef GNUNET_VPN_SERVICE_H 26#ifndef GNUNET_VPN_SERVICE_H
@@ -50,7 +50,7 @@ struct GNUNET_VPN_RedirectionRequest;
50 * will match 'result_af' from the request 50 * will match 'result_af' from the request
51 * @param address IP address (struct in_addr or struct in_addr6, depending on 'af') 51 * @param address IP address (struct in_addr or struct in_addr6, depending on 'af')
52 * that the VPN allocated for the redirection; 52 * that the VPN allocated for the redirection;
53 * traffic to this IP will now be redirected to the 53 * traffic to this IP will now be redirected to the
54 * specified target peer; NULL on error 54 * specified target peer; NULL on error
55 */ 55 */
56typedef void (*GNUNET_VPN_AllocationCallback)(void *cls, 56typedef void (*GNUNET_VPN_AllocationCallback)(void *cls,
@@ -124,7 +124,7 @@ GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh,
124 * anyway) 124 * anyway)
125 */ 125 */
126struct GNUNET_VPN_RedirectionRequest * 126struct GNUNET_VPN_RedirectionRequest *
127GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh, 127GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh,
128 int result_af, 128 int result_af,
129 int addr_af, 129 int addr_af,
130 const void *addr, 130 const void *addr,
@@ -137,7 +137,7 @@ GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh,
137 * Connect to the VPN service 137 * Connect to the VPN service
138 * 138 *
139 * @param cfg configuration to use 139 * @param cfg configuration to use
140 * @return VPN handle 140 * @return VPN handle
141 */ 141 */
142struct GNUNET_VPN_Handle * 142struct GNUNET_VPN_Handle *
143GNUNET_VPN_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); 143GNUNET_VPN_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);