diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-16 23:24:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-16 23:24:48 +0100 |
commit | 376138d90fe4e97d8611a8b7dfb798e79aa427cb (patch) | |
tree | cd588dfc51dc1a544dc11aaf46614941208878e1 /src/include/gnunet_cadet_service.h | |
parent | a37bee0b9bf81c9a1de295cc8bb747218095942b (diff) | |
download | gnunet-376138d90fe4e97d8611a8b7dfb798e79aa427cb.tar.gz gnunet-376138d90fe4e97d8611a8b7dfb798e79aa427cb.zip |
first, very rough conversion of SET service to new cadet client API (fails tests, as before)
Diffstat (limited to 'src/include/gnunet_cadet_service.h')
-rw-r--r-- | src/include/gnunet_cadet_service.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index 1b3aac7c9..6f71424fb 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h | |||
@@ -713,6 +713,7 @@ typedef void * | |||
713 | struct GNUNET_CADET_Channel *channel, | 713 | struct GNUNET_CADET_Channel *channel, |
714 | const struct GNUNET_PeerIdentity *source); | 714 | const struct GNUNET_PeerIdentity *source); |
715 | 715 | ||
716 | |||
716 | /** | 717 | /** |
717 | * Function called whenever an MQ-channel is destroyed, even if the destruction | 718 | * Function called whenever an MQ-channel is destroyed, even if the destruction |
718 | * was requested by #GNUNET_CADET_channel_destroy. | 719 | * was requested by #GNUNET_CADET_channel_destroy. |
@@ -728,6 +729,7 @@ typedef void | |||
728 | (*GNUNET_CADET_DisconnectEventHandler) (void *cls, | 729 | (*GNUNET_CADET_DisconnectEventHandler) (void *cls, |
729 | const struct GNUNET_CADET_Channel *channel); | 730 | const struct GNUNET_CADET_Channel *channel); |
730 | 731 | ||
732 | |||
731 | /** | 733 | /** |
732 | * Function called whenever an MQ-channel's transmission window size changes. | 734 | * Function called whenever an MQ-channel's transmission window size changes. |
733 | * | 735 | * |
@@ -747,6 +749,7 @@ typedef void | |||
747 | const struct GNUNET_CADET_Channel *channel, | 749 | const struct GNUNET_CADET_Channel *channel, |
748 | int window_size); | 750 | int window_size); |
749 | 751 | ||
752 | |||
750 | /** | 753 | /** |
751 | * Connect to the MQ-based cadet service. | 754 | * Connect to the MQ-based cadet service. |
752 | * | 755 | * |
@@ -756,6 +759,7 @@ typedef void | |||
756 | struct GNUNET_CADET_Handle * | 759 | struct GNUNET_CADET_Handle * |
757 | GNUNET_CADET_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg); | 760 | GNUNET_CADET_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg); |
758 | 761 | ||
762 | |||
759 | /** | 763 | /** |
760 | * Open a port to receive incomming MQ-based channels. | 764 | * Open a port to receive incomming MQ-based channels. |
761 | * | 765 | * |
@@ -810,6 +814,7 @@ GNUNET_CADET_channel_creatE (struct GNUNET_CADET_Handle *h, | |||
810 | GNUNET_CADET_DisconnectEventHandler disconnects, | 814 | GNUNET_CADET_DisconnectEventHandler disconnects, |
811 | const struct GNUNET_MQ_MessageHandler *handlers); | 815 | const struct GNUNET_MQ_MessageHandler *handlers); |
812 | 816 | ||
817 | |||
813 | /** | 818 | /** |
814 | * Obtain the message queue for a connected channel. | 819 | * Obtain the message queue for a connected channel. |
815 | * | 820 | * |