summaryrefslogtreecommitdiff
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.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/include/gnunet_vpn_service.h b/src/include/gnunet_vpn_service.h
index 7e066b14f..31476e140 100644
--- a/src/include/gnunet_vpn_service.h
+++ b/src/include/gnunet_vpn_service.h
@@ -69,7 +69,7 @@ typedef void (*GNUNET_VPN_AllocationCallback)(void *cls,
69 * @param rr request to cancel 69 * @param rr request to cancel
70 */ 70 */
71void 71void
72GNUNET_VPN_cancel_request(struct GNUNET_VPN_RedirectionRequest *rr); 72GNUNET_VPN_cancel_request (struct GNUNET_VPN_RedirectionRequest *rr);
73 73
74 74
75/** 75/**
@@ -95,14 +95,14 @@ GNUNET_VPN_cancel_request(struct GNUNET_VPN_RedirectionRequest *rr);
95 * anyway) 95 * anyway)
96 */ 96 */
97struct GNUNET_VPN_RedirectionRequest * 97struct GNUNET_VPN_RedirectionRequest *
98GNUNET_VPN_redirect_to_peer(struct GNUNET_VPN_Handle *vh, 98GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh,
99 int result_af, 99 int result_af,
100 uint8_t protocol, 100 uint8_t protocol,
101 const struct GNUNET_PeerIdentity *peer, 101 const struct GNUNET_PeerIdentity *peer,
102 const struct GNUNET_HashCode *serv, 102 const struct GNUNET_HashCode *serv,
103 struct GNUNET_TIME_Absolute expiration_time, 103 struct GNUNET_TIME_Absolute expiration_time,
104 GNUNET_VPN_AllocationCallback cb, 104 GNUNET_VPN_AllocationCallback cb,
105 void *cb_cls); 105 void *cb_cls);
106 106
107 107
108/** 108/**
@@ -129,13 +129,13 @@ GNUNET_VPN_redirect_to_peer(struct GNUNET_VPN_Handle *vh,
129 * anyway) 129 * anyway)
130 */ 130 */
131struct GNUNET_VPN_RedirectionRequest * 131struct GNUNET_VPN_RedirectionRequest *
132GNUNET_VPN_redirect_to_ip(struct GNUNET_VPN_Handle *vh, 132GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh,
133 int result_af, 133 int result_af,
134 int addr_af, 134 int addr_af,
135 const void *addr, 135 const void *addr,
136 struct GNUNET_TIME_Absolute expiration_time, 136 struct GNUNET_TIME_Absolute expiration_time,
137 GNUNET_VPN_AllocationCallback cb, 137 GNUNET_VPN_AllocationCallback cb,
138 void *cb_cls); 138 void *cb_cls);
139 139
140 140
141/** 141/**
@@ -145,7 +145,7 @@ GNUNET_VPN_redirect_to_ip(struct GNUNET_VPN_Handle *vh,
145 * @return VPN handle 145 * @return VPN handle
146 */ 146 */
147struct GNUNET_VPN_Handle * 147struct GNUNET_VPN_Handle *
148GNUNET_VPN_connect(const struct GNUNET_CONFIGURATION_Handle *cfg); 148GNUNET_VPN_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
149 149
150 150
151/** 151/**
@@ -154,7 +154,7 @@ GNUNET_VPN_connect(const struct GNUNET_CONFIGURATION_Handle *cfg);
154 * @param vh VPN handle 154 * @param vh VPN handle
155 */ 155 */
156void 156void
157GNUNET_VPN_disconnect(struct GNUNET_VPN_Handle *vh); 157GNUNET_VPN_disconnect (struct GNUNET_VPN_Handle *vh);
158 158
159#endif 159#endif
160 160