diff options
Diffstat (limited to 'src/include/gnunet_vpn_service.h')
-rw-r--r-- | src/include/gnunet_vpn_service.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/include/gnunet_vpn_service.h b/src/include/gnunet_vpn_service.h index 2096bf539..7e066b14f 100644 --- a/src/include/gnunet_vpn_service.h +++ b/src/include/gnunet_vpn_service.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -59,8 +59,8 @@ struct GNUNET_VPN_RedirectionRequest; | |||
59 | * specified target peer; NULL on error | 59 | * specified target peer; NULL on error |
60 | */ | 60 | */ |
61 | typedef void (*GNUNET_VPN_AllocationCallback)(void *cls, | 61 | typedef void (*GNUNET_VPN_AllocationCallback)(void *cls, |
62 | int af, | 62 | int af, |
63 | const void *address); | 63 | const void *address); |
64 | 64 | ||
65 | 65 | ||
66 | /** | 66 | /** |
@@ -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 | */ |
71 | void | 71 | void |
72 | GNUNET_VPN_cancel_request (struct GNUNET_VPN_RedirectionRequest *rr); | 72 | GNUNET_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 | */ |
97 | struct GNUNET_VPN_RedirectionRequest * | 97 | struct GNUNET_VPN_RedirectionRequest * |
98 | GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh, | 98 | GNUNET_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 | */ |
131 | struct GNUNET_VPN_RedirectionRequest * | 131 | struct GNUNET_VPN_RedirectionRequest * |
132 | GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh, | 132 | GNUNET_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 | */ |
147 | struct GNUNET_VPN_Handle * | 147 | struct GNUNET_VPN_Handle * |
148 | GNUNET_VPN_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); | 148 | GNUNET_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 | */ |
156 | void | 156 | void |
157 | GNUNET_VPN_disconnect (struct GNUNET_VPN_Handle *vh); | 157 | GNUNET_VPN_disconnect(struct GNUNET_VPN_Handle *vh); |
158 | 158 | ||
159 | #endif | 159 | #endif |
160 | 160 | ||