diff options
author | Gabor X Toth <*@tg-x.net> | 2016-09-23 21:17:16 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-09-23 21:17:16 +0000 |
commit | f02f4bc7218f729074337f3b8a3fe93ec46c757b (patch) | |
tree | 24a392209a382230db9cdc79ce9e3a486ab7a9d9 /src/multicast | |
parent | c57d130527529e03bfba65f4f61a4a8baabb0e6e (diff) | |
download | gnunet-f02f4bc7218f729074337f3b8a3fe93ec46c757b.tar.gz gnunet-f02f4bc7218f729074337f3b8a3fe93ec46c757b.zip |
multicast: cleanup unused message structs
Diffstat (limited to 'src/multicast')
-rw-r--r-- | src/multicast/multicast.h | 126 |
1 files changed, 0 insertions, 126 deletions
diff --git a/src/multicast/multicast.h b/src/multicast/multicast.h index 95beb7c3a..aeb3c0b41 100644 --- a/src/multicast/multicast.h +++ b/src/multicast/multicast.h | |||
@@ -273,7 +273,6 @@ struct MulticastOriginStartMessage | |||
273 | * we resume operating * a group. | 273 | * we resume operating * a group. |
274 | */ | 274 | */ |
275 | uint64_t max_fragment_id; | 275 | uint64_t max_fragment_id; |
276 | |||
277 | }; | 276 | }; |
278 | 277 | ||
279 | 278 | ||
@@ -298,131 +297,6 @@ struct MulticastMemberJoinMessage | |||
298 | }; | 297 | }; |
299 | 298 | ||
300 | 299 | ||
301 | #if NOT_USED | ||
302 | /** | ||
303 | * Message sent from the client to the service to broadcast to all group | ||
304 | * members. | ||
305 | */ | ||
306 | struct MulticastBroadcastMessage | ||
307 | { | ||
308 | |||
309 | /** | ||
310 | * | ||
311 | */ | ||
312 | struct GNUNET_MessageHeader header; | ||
313 | |||
314 | /** | ||
315 | * #GNUNET_OK normally, #GNUNET_SYSERR if the origin aborted the | ||
316 | * transmission. | ||
317 | */ | ||
318 | int32_t status; | ||
319 | |||
320 | /** | ||
321 | * Message ID. | ||
322 | */ | ||
323 | uint64_t message_id; | ||
324 | |||
325 | /** | ||
326 | * Group generation. | ||
327 | */ | ||
328 | uint64_t group_generation; | ||
329 | |||
330 | /** | ||
331 | * Total message size. | ||
332 | */ | ||
333 | uint64_t total_size; | ||
334 | |||
335 | }; | ||
336 | |||
337 | |||
338 | /** | ||
339 | * Message sent from the client to the service to join a multicast group. | ||
340 | */ | ||
341 | struct MulticastJoinMessage | ||
342 | { | ||
343 | |||
344 | /** | ||
345 | * | ||
346 | */ | ||
347 | struct GNUNET_MessageHeader header; | ||
348 | |||
349 | /** | ||
350 | * Number of relays we (think) we already know about. | ||
351 | */ | ||
352 | uint32_t relay_count; | ||
353 | |||
354 | /** | ||
355 | * Public non-ephemeral key of the mutlicast group. | ||
356 | */ | ||
357 | struct GNUNET_CRYPTO_EddsaPublicKey group_pub_key; | ||
358 | |||
359 | /** | ||
360 | * Our private key for the group. | ||
361 | */ | ||
362 | struct GNUNET_CRYPTO_EcdsaPrivateKey member_key; | ||
363 | |||
364 | /* followed by 'relay_count' `struct GNUNET_PeerIdentity`s */ | ||
365 | |||
366 | }; | ||
367 | |||
368 | |||
369 | |||
370 | /** | ||
371 | * Message sent from the client to the service to unicast to the group origin. | ||
372 | */ | ||
373 | struct MulticastUnicastToOriginMessage | ||
374 | { | ||
375 | |||
376 | /** | ||
377 | * | ||
378 | */ | ||
379 | struct GNUNET_MessageHeader header; | ||
380 | |||
381 | /** | ||
382 | * Reserved (always 0). | ||
383 | */ | ||
384 | uint32_t reserved; | ||
385 | |||
386 | /** | ||
387 | * Message ID. | ||
388 | */ | ||
389 | uint64_t message_id; | ||
390 | |||
391 | /** | ||
392 | * Total message size. | ||
393 | */ | ||
394 | uint64_t total_size; | ||
395 | |||
396 | /* followed by payload */ | ||
397 | |||
398 | }; | ||
399 | |||
400 | |||
401 | /** | ||
402 | * Message sent from the client to the service to | ||
403 | * cancel unicast to the group origin. | ||
404 | */ | ||
405 | struct MulticastUnicastToOriginCancelMessage | ||
406 | { | ||
407 | |||
408 | /** | ||
409 | * | ||
410 | */ | ||
411 | struct GNUNET_MessageHeader header; | ||
412 | |||
413 | /** | ||
414 | * Reserved (always 0). | ||
415 | */ | ||
416 | uint32_t reserved; | ||
417 | |||
418 | /** | ||
419 | * Message ID. | ||
420 | */ | ||
421 | uint64_t message_id; | ||
422 | |||
423 | }; | ||
424 | #endif // NOT_USED | ||
425 | |||
426 | GNUNET_NETWORK_STRUCT_END | 300 | GNUNET_NETWORK_STRUCT_END |
427 | 301 | ||
428 | #endif | 302 | #endif |