diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-01 03:29:46 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-01 03:29:46 +0000 |
commit | 734360920c83580d3d1ce2b3c4668da3816e28b2 (patch) | |
tree | c34306abb284ad52c6b5166b98108b93c10fa44f /src/mesh/mesh.h | |
parent | 0f0f0759a16b5367757b78d9764902ac916fb689 (diff) | |
download | gnunet-734360920c83580d3d1ce2b3c4668da3816e28b2.tar.gz gnunet-734360920c83580d3d1ce2b3c4668da3816e28b2.zip |
Added peer add timeout handling, tunnel connect/disconnect notifications
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r-- | src/mesh/mesh.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index 4e5f6e802..874e29a91 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h | |||
@@ -146,13 +146,6 @@ struct GNUNET_MESH_PeerControl | |||
146 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; | 146 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; |
147 | 147 | ||
148 | /** | 148 | /** |
149 | * When should this request time out (the service abort trying to find | ||
150 | * a matching peer)? The request should naturally also be aborted | ||
151 | * if the corresponding client disconnects. | ||
152 | */ | ||
153 | struct GNUNET_TIME_AbsoluteNBO timeout; | ||
154 | |||
155 | /** | ||
156 | * Peer to connect/disconnect. | 149 | * Peer to connect/disconnect. |
157 | */ | 150 | */ |
158 | struct GNUNET_PeerIdentity peer; | 151 | struct GNUNET_PeerIdentity peer; |
@@ -165,7 +158,8 @@ struct GNUNET_MESH_PeerControl | |||
165 | struct GNUNET_MESH_ConnectPeerByType | 158 | struct GNUNET_MESH_ConnectPeerByType |
166 | { | 159 | { |
167 | /** | 160 | /** |
168 | * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_BY_TYPE | 161 | * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_BY_TYPE | |
162 | * GNUNET_MESSAGE_TYPE_MESH_LOCAL_DISCONNECT_PEER_BY_TYPE | ||
169 | */ | 163 | */ |
170 | struct GNUNET_MessageHeader header; | 164 | struct GNUNET_MessageHeader header; |
171 | 165 | ||
@@ -175,13 +169,6 @@ struct GNUNET_MESH_ConnectPeerByType | |||
175 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; | 169 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; |
176 | 170 | ||
177 | /** | 171 | /** |
178 | * When should this request time out (the service abort trying to find | ||
179 | * a matching peer)? The request should naturally also be aborted | ||
180 | * if the corresponding client disconnects. | ||
181 | */ | ||
182 | struct GNUNET_TIME_AbsoluteNBO timeout; | ||
183 | |||
184 | /** | ||
185 | * Type specification | 172 | * Type specification |
186 | */ | 173 | */ |
187 | GNUNET_MESH_ApplicationType type GNUNET_PACKED; | 174 | GNUNET_MESH_ApplicationType type GNUNET_PACKED; |