aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_multicast_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-07-23 05:38:25 +0000
committerGabor X Toth <*@tg-x.net>2013-07-23 05:38:25 +0000
commit67c5a441c686b5242f096a68cd58a77df3f36942 (patch)
tree1461041d5f2ab84e93b68052c44bbb2ed26ee382 /src/include/gnunet_multicast_service.h
parente04eeb1369916a25d3277d774203d4bfa9adb564 (diff)
downloadgnunet-67c5a441c686b5242f096a68cd58a77df3f36942.tar.gz
gnunet-67c5a441c686b5242f096a68cd58a77df3f36942.zip
untabify
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r--src/include/gnunet_multicast_service.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h
index cbe0ac698..88a8dba47 100644
--- a/src/include/gnunet_multicast_service.h
+++ b/src/include/gnunet_multicast_service.h
@@ -364,7 +364,7 @@ struct GNUNET_MULTICAST_MembershipTestHandle;
364 */ 364 */
365void 365void
366GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestHandle *mth, 366GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestHandle *mth,
367 int decision); 367 int decision);
368 368
369 369
370/** 370/**
@@ -379,9 +379,9 @@ GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestH
379 * @param mth Handle to give to GNUNET_MULTICAST_membership_test_answer(). 379 * @param mth Handle to give to GNUNET_MULTICAST_membership_test_answer().
380 */ 380 */
381typedef void (*GNUNET_MULTICAST_MembershipTestCallback)(void *cls, 381typedef void (*GNUNET_MULTICAST_MembershipTestCallback)(void *cls,
382 const struct GNUNET_PeerIdentity *peer, 382 const struct GNUNET_PeerIdentity *peer,
383 uint64_t fragment_id, 383 uint64_t fragment_id,
384 struct GNUNET_MULTICAST_MembershipTestHandle *mth); 384 struct GNUNET_MULTICAST_MembershipTestHandle *mth);
385 385
386 386
387/** 387/**
@@ -436,8 +436,8 @@ struct GNUNET_MULTICAST_ReplayHandle;
436 * @param rh Handle to pass to message transmit function. 436 * @param rh Handle to pass to message transmit function.
437 */ 437 */
438typedef void (*GNUNET_MULTICAST_ReplayCallback) (void *cls, 438typedef void (*GNUNET_MULTICAST_ReplayCallback) (void *cls,
439 uint64_t fragment_id, 439 uint64_t fragment_id,
440 struct GNUNET_MULTICAST_ReplayHandle *rh); 440 struct GNUNET_MULTICAST_ReplayHandle *rh);
441 441
442 442
443/** 443/**
@@ -481,8 +481,8 @@ enum GNUNET_MULTICAST_ReplayErrorCode
481 */ 481 */
482void 482void
483GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, 483GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh,
484 const struct GNUNET_MULTICAST_MessageHeader *msg, 484 const struct GNUNET_MULTICAST_MessageHeader *msg,
485 enum GNUNET_MULTICAST_ReplayErrorCode ec); 485 enum GNUNET_MULTICAST_ReplayErrorCode ec);
486 486
487 487
488/** 488/**
@@ -513,14 +513,14 @@ GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh,
513 */ 513 */
514struct GNUNET_MULTICAST_Origin * 514struct GNUNET_MULTICAST_Origin *
515GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 515GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
516 void *cls, 516 void *cls,
517 const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, 517 const struct GNUNET_CRYPTO_EccPrivateKey *priv_key,
518 enum GNUNET_MULTICAST_JoinPolicy join_policy, 518 enum GNUNET_MULTICAST_JoinPolicy join_policy,
519 GNUNET_MULITCAST_ReplayCallback replay_cb, 519 GNUNET_MULITCAST_ReplayCallback replay_cb,
520 GNUNET_MULITCAST_MembershipTestCallback test_cb, 520 GNUNET_MULITCAST_MembershipTestCallback test_cb,
521 GNUNET_MULTICAST_JoinCallback join_cb, 521 GNUNET_MULTICAST_JoinCallback join_cb,
522 GNUNET_MULTICAST_PartCallback part_cb, 522 GNUNET_MULTICAST_PartCallback part_cb,
523 GNUNET_MULTICAST_RequestCallback request_cb); 523 GNUNET_MULTICAST_RequestCallback request_cb);
524 524
525 525
526/** 526/**
@@ -541,9 +541,9 @@ struct GNUNET_MULTICAST_OriginMessageHandle;
541 */ 541 */
542struct GNUNET_MULTICAST_OriginMessageHandle * 542struct GNUNET_MULTICAST_OriginMessageHandle *
543GNUNET_MULTICAST_origin_to_all (struct GNUNET_MULTICAST_Origin *origin, 543GNUNET_MULTICAST_origin_to_all (struct GNUNET_MULTICAST_Origin *origin,
544 size_t size, 544 size_t size,
545 GNUNET_CONNECTION_TransmitReadyNotify cb, 545 GNUNET_CONNECTION_TransmitReadyNotify cb,
546 void *cb_cls); 546 void *cb_cls);
547 547
548 548
549/** 549/**
@@ -604,15 +604,15 @@ GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin);
604 */ 604 */
605struct GNUNET_MULTICAST_Member * 605struct GNUNET_MULTICAST_Member *
606GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, 606GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg,
607 const struct GNUNET_CRYPTO_EccPublicKey *pub_key, 607 const struct GNUNET_CRYPTO_EccPublicKey *pub_key,
608 const struct GNUNET_PeerIdentity *origin, 608 const struct GNUNET_PeerIdentity *origin,
609 uint64_t max_known_fragment_id, 609 uint64_t max_known_fragment_id,
610 uint64_t max_known_state_fragment_id, 610 uint64_t max_known_state_fragment_id,
611 GNUNET_MULTICAST_ReplayCallback replay_cb, 611 GNUNET_MULTICAST_ReplayCallback replay_cb,
612 GNUNET_MULITCAST_MembershipTestCallback test_cb, 612 GNUNET_MULITCAST_MembershipTestCallback test_cb,
613 GNUNET_MULTICAST_MessageCallback message_cb, 613 GNUNET_MULTICAST_MessageCallback message_cb,
614 void *cls, 614 void *cls,
615 const struct GNUNET_MessageHeader *join_req); 615 const struct GNUNET_MessageHeader *join_req);
616 616
617 617
618/** 618/**
@@ -635,9 +635,9 @@ struct GNUNET_MULTICAST_MemberReplayHandle;
635 */ 635 */
636struct GNUNET_MULTICAST_MemberReplayHandle * 636struct GNUNET_MULTICAST_MemberReplayHandle *
637GNUNET_MULTICAST_member_request_replay (struct GNUNET_MULTICAST_Member *member, 637GNUNET_MULTICAST_member_request_replay (struct GNUNET_MULTICAST_Member *member,
638 uint64_t fragment_id, 638 uint64_t fragment_id,
639 GNUNET_MULTICAST_MessageCallback message_cb, 639 GNUNET_MULTICAST_MessageCallback message_cb,
640 void *message_cb_cls); 640 void *message_cb_cls);
641 641
642 642
643/** 643/**
@@ -677,9 +677,9 @@ struct GNUNET_MULTICAST_MemberRequestHandle;
677 */ 677 */
678struct GNUNET_MULTICAST_MemberRequestHandle * 678struct GNUNET_MULTICAST_MemberRequestHandle *
679GNUNET_MULTICAST_member_to_origin (struct GNUNET_MULTICAST_Member *member, 679GNUNET_MULTICAST_member_to_origin (struct GNUNET_MULTICAST_Member *member,
680 size_t size, 680 size_t size,
681 GNUNET_CONNECTION_TransmitReadyNotify cb, 681 GNUNET_CONNECTION_TransmitReadyNotify cb,
682 void *cb_cls); 682 void *cb_cls);
683 683
684 684
685/** 685/**