diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-02 14:44:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-02 14:44:42 +0000 |
commit | e1fda8a5d8674328afa61cc50842fdbd2a7044ba (patch) | |
tree | b36e7c638c5b0cb94a693376419959f12d84b84c /src/include/gnunet_mesh_service_new.h | |
parent | 012cb16a93acbfca1119966d5b4679b99e5c9125 (diff) | |
download | gnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.tar.gz gnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.zip |
doxygen
Diffstat (limited to 'src/include/gnunet_mesh_service_new.h')
-rw-r--r-- | src/include/gnunet_mesh_service_new.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/include/gnunet_mesh_service_new.h b/src/include/gnunet_mesh_service_new.h index 4729ae60d..7ca53b070 100644 --- a/src/include/gnunet_mesh_service_new.h +++ b/src/include/gnunet_mesh_service_new.h | |||
@@ -135,14 +135,16 @@ typedef uint32_t GNUNET_MESH_ApplicationType; | |||
135 | * @param atsi performance information for the tunnel | 135 | * @param atsi performance information for the tunnel |
136 | * @return initial tunnel context for the tunnel (can be NULL -- that's not an error) | 136 | * @return initial tunnel context for the tunnel (can be NULL -- that's not an error) |
137 | */ | 137 | */ |
138 | typedef void* (*GNUNET_MESH_InboundTunnelNotificationHandler) (void *cls, | 138 | typedef void *(*GNUNET_MESH_InboundTunnelNotificationHandler) (void *cls, |
139 | struct GNUNET_MESH_Tunnel * tunnel, | 139 | struct |
140 | const struct | 140 | GNUNET_MESH_Tunnel |
141 | GNUNET_PeerIdentity * | 141 | * tunnel, |
142 | initiator, | 142 | const struct |
143 | const struct | 143 | GNUNET_PeerIdentity |
144 | GNUNET_TRANSPORT_ATS_Information * | 144 | * initiator, |
145 | atsi); | 145 | const struct |
146 | GNUNET_TRANSPORT_ATS_Information | ||
147 | * atsi); | ||
146 | 148 | ||
147 | 149 | ||
148 | /** | 150 | /** |
@@ -219,8 +221,7 @@ typedef void (*GNUNET_MESH_TunnelConnectHandler) (void *cls, | |||
219 | * @param handler_cls closure for connect/disconnect handlers | 221 | * @param handler_cls closure for connect/disconnect handlers |
220 | */ | 222 | */ |
221 | struct GNUNET_MESH_Tunnel * | 223 | struct GNUNET_MESH_Tunnel * |
222 | GNUNET_MESH_tunnel_create (struct GNUNET_MESH_Handle *h, | 224 | GNUNET_MESH_tunnel_create (struct GNUNET_MESH_Handle *h, void *tunnel_ctx, |
223 | void *tunnel_ctx, | ||
224 | GNUNET_MESH_TunnelConnectHandler connect_handler, | 225 | GNUNET_MESH_TunnelConnectHandler connect_handler, |
225 | GNUNET_MESH_TunnelDisconnectHandler | 226 | GNUNET_MESH_TunnelDisconnectHandler |
226 | disconnect_handler, void *handler_cls); | 227 | disconnect_handler, void *handler_cls); |