aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-06-26 00:41:08 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-06-26 00:41:08 +0000
commite6a7e858d79b4bb0ea9007169cd4b0f4f793c3fa (patch)
tree6ec22a02c11b5a0c477de399a6645d1047372094 /src/set/gnunet-service-set.h
parent05861a8004f061831ee419c4ccc093faa7ad0fe5 (diff)
downloadgnunet-e6a7e858d79b4bb0ea9007169cd4b0f4f793c3fa.tar.gz
gnunet-e6a7e858d79b4bb0ea9007169cd4b0f4f793c3fa.zip
- fixed tunnel destruction/cleanup
- peers can connect before the listener
Diffstat (limited to 'src/set/gnunet-service-set.h')
-rw-r--r--src/set/gnunet-service-set.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h
index d60b5f477..533fd0ef7 100644
--- a/src/set/gnunet-service-set.h
+++ b/src/set/gnunet-service-set.h
@@ -186,11 +186,23 @@ struct Incoming
186 enum GNUNET_SET_OperationType operation; 186 enum GNUNET_SET_OperationType operation;
187 187
188 /** 188 /**
189 * Has the incoming request been suggested to
190 * a client listener yet?
191 */
192 int suggested;
193
194 /**
189 * Unique request id for the request from 195 * Unique request id for the request from
190 * a remote peer, sent to the client, which will 196 * a remote peer, sent to the client, which will
191 * accept or reject the request. 197 * accept or reject the request.
192 */ 198 */
193 uint32_t accept_id; 199 uint32_t accept_id;
200
201 /**
202 * Timeout task, if the incoming peer has not been accepted
203 * after the timeout, it will be disconnected.
204 */
205 GNUNET_SCHEDULER_TaskIdentifier timeout_task;
194}; 206};
195 207
196 208