diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-30 13:03:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-30 13:03:41 +0000 |
commit | 9588b24a6e0629d3b5849d9c291038539f128e7b (patch) | |
tree | 352f99ef64c87eb0a2553cc5a2f4625597e18d1a /src/mesh/mesh.h | |
parent | e254e84a2fa79fc3003085089387e44fb222c184 (diff) | |
download | gnunet-9588b24a6e0629d3b5849d9c291038539f128e7b.tar.gz gnunet-9588b24a6e0629d3b5849d9c291038539f128e7b.zip |
communicate operation timeouts
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r-- | src/mesh/mesh.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index b9f2226b9..4e5f6e802 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h | |||
@@ -146,6 +146,13 @@ 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 | /** | ||
149 | * Peer to connect/disconnect. | 156 | * Peer to connect/disconnect. |
150 | */ | 157 | */ |
151 | struct GNUNET_PeerIdentity peer; | 158 | struct GNUNET_PeerIdentity peer; |
@@ -168,6 +175,13 @@ struct GNUNET_MESH_ConnectPeerByType | |||
168 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; | 175 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; |
169 | 176 | ||
170 | /** | 177 | /** |
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 | /** | ||
171 | * Type specification | 185 | * Type specification |
172 | */ | 186 | */ |
173 | GNUNET_MESH_ApplicationType type GNUNET_PACKED; | 187 | GNUNET_MESH_ApplicationType type GNUNET_PACKED; |