diff options
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 5dedeb42a..16707777d 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c | |||
@@ -139,6 +139,35 @@ struct HelloList | |||
139 | 139 | ||
140 | 140 | ||
141 | /** | 141 | /** |
142 | * Entry in linked list of active 'disconnect' requests that we have issued. | ||
143 | */ | ||
144 | struct DisconnectList | ||
145 | { | ||
146 | /** | ||
147 | * This is a doubly-linked list. | ||
148 | */ | ||
149 | struct DisconnectList *next; | ||
150 | |||
151 | /** | ||
152 | * This is a doubly-linked list. | ||
153 | */ | ||
154 | struct DisconnectList *prev; | ||
155 | |||
156 | /** | ||
157 | * Our request handle. | ||
158 | */ | ||
159 | struct GNUNET_CORE_InformationRequestContext *rh; | ||
160 | |||
161 | /** | ||
162 | * Peer we tried to disconnect. | ||
163 | */ | ||
164 | struct GNUNET_PeerIdentity peer; | ||
165 | |||
166 | }; | ||
167 | |||
168 | |||
169 | |||
170 | /** | ||
142 | * Our peerinfo notification context. We use notification | 171 | * Our peerinfo notification context. We use notification |
143 | * to instantly learn about new peers as they are discovered | 172 | * to instantly learn about new peers as they are discovered |
144 | * as well as periodic iteration to try peers again after | 173 | * as well as periodic iteration to try peers again after |
@@ -230,35 +259,6 @@ static struct GNUNET_PEERINFO_IteratorContext *pitr; | |||
230 | */ | 259 | */ |
231 | static struct GNUNET_PEERINFO_IteratorContext *pitr_more; | 260 | static struct GNUNET_PEERINFO_IteratorContext *pitr_more; |
232 | 261 | ||
233 | |||
234 | /** | ||
235 | * Entry in linked list of active 'disconnect' requests that we have issued. | ||
236 | */ | ||
237 | struct DisconnectList | ||
238 | { | ||
239 | /** | ||
240 | * This is a doubly-linked list. | ||
241 | */ | ||
242 | struct DisconnectList *next; | ||
243 | |||
244 | /** | ||
245 | * This is a doubly-linked list. | ||
246 | */ | ||
247 | struct DisconnectList *prev; | ||
248 | |||
249 | /** | ||
250 | * Our request handle. | ||
251 | */ | ||
252 | struct GNUNET_CORE_InformationRequestContext *rh; | ||
253 | |||
254 | /** | ||
255 | * Peer we tried to disconnect. | ||
256 | */ | ||
257 | struct GNUNET_PeerIdentity peer; | ||
258 | |||
259 | }; | ||
260 | |||
261 | |||
262 | /** | 262 | /** |
263 | * Head of doubly-linked list of active 'disconnect' requests that we have issued. | 263 | * Head of doubly-linked list of active 'disconnect' requests that we have issued. |
264 | */ | 264 | */ |