diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:17 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:17 +0000 |
commit | 32dafdb8cc0be8a06853a5e212cea9d6de961b58 (patch) | |
tree | 81f956a931c8360217e0577d16818d7094d105a4 /src/include | |
parent | e43078b68951ad8a3daa3a193473e9c321549e1d (diff) | |
download | gnunet-32dafdb8cc0be8a06853a5e212cea9d6de961b58.tar.gz gnunet-32dafdb8cc0be8a06853a5e212cea9d6de961b58.zip |
- change tunnel API to pass connection and channel payload
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_mesh_service.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h index d7c74b6f9..51e22a9fe 100644 --- a/src/include/gnunet_mesh_service.h +++ b/src/include/gnunet_mesh_service.h | |||
@@ -436,15 +436,19 @@ typedef void (*GNUNET_MESH_TunnelsCB) (void *cls, | |||
436 | * | 436 | * |
437 | * @param cls Closure. | 437 | * @param cls Closure. |
438 | * @param peer Peer towards whom the tunnel is directed. | 438 | * @param peer Peer towards whom the tunnel is directed. |
439 | * @param channels Number of channels. | 439 | * @param n_channels Number of channels. |
440 | * @param connections Number of connections. | 440 | * @param n_connections Number of connections. |
441 | * @param channels Channels. | ||
442 | * @param connections Connections. | ||
441 | * @param estate Encryption state. | 443 | * @param estate Encryption state. |
442 | * @param cstate Connectivity state. | 444 | * @param cstate Connectivity state. |
443 | */ | 445 | */ |
444 | typedef void (*GNUNET_MESH_TunnelCB) (void *cls, | 446 | typedef void (*GNUNET_MESH_TunnelCB) (void *cls, |
445 | const struct GNUNET_PeerIdentity *peer, | 447 | const struct GNUNET_PeerIdentity *peer, |
446 | unsigned int channels, | 448 | unsigned int n_channels, |
447 | unsigned int connections, | 449 | unsigned int n_connections, |
450 | uint32_t *channels, | ||
451 | struct GNUNET_HashCode *connections, | ||
448 | unsigned int estate, | 452 | unsigned int estate, |
449 | unsigned int cstate); | 453 | unsigned int cstate); |
450 | 454 | ||