[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 08/13: fixed chanel_get_info
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 08/13: fixed chanel_get_info |
Date: |
Sun, 21 Jul 2019 20:27:51 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
commit 67d5962e8540589e7e712c122c313a92dd86b4e7
Author: t3sserakt <address@hidden>
AuthorDate: Wed Jun 26 01:21:41 2019 +0200
fixed chanel_get_info
---
src/cadet/cadet_api.c | 11 -----------
src/include/gnunet_cadet_service.h | 11 +++++++++++
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index 825768034..0e655ee33 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -32,17 +32,6 @@
#define LOG(kind, ...) GNUNET_log_from (kind, "cadet-api", __VA_ARGS__)
-enum GNUNET_CADET_ChannelInfoOption
-{
- /**
- * Who is the peer at the other end of the channel.
- * Only for use in @c GNUNET_CADET_channel_get_info
- * struct GNUNET_PeerIdentity *peer
- */
- GNUNET_CADET_OPTION_PEER = 0x0
-
-};
-
/**
* Opaque handle to the service.
*/
diff --git a/src/include/gnunet_cadet_service.h
b/src/include/gnunet_cadet_service.h
index fd591924a..ba4d60eb8 100644
--- a/src/include/gnunet_cadet_service.h
+++ b/src/include/gnunet_cadet_service.h
@@ -279,6 +279,16 @@ GNUNET_CADET_receive_done (struct GNUNET_CADET_Channel
*channel);
const struct GNUNET_HashCode *
GC_u2h (uint32_t port);
+enum GNUNET_CADET_ChannelInfoOption
+{
+ /**
+ * Who is the peer at the other end of the channel.
+ * Only for use in @c GNUNET_CADET_channel_get_info
+ * struct GNUNET_PeerIdentity *peer
+ */
+ GNUNET_CADET_OPTION_PEER = 0x0
+
+};
/**
* Union to retrieve info about a channel.
@@ -307,6 +317,7 @@ union GNUNET_CADET_ChannelInfo
*/
const union GNUNET_CADET_ChannelInfo *
GNUNET_CADET_channel_get_info (struct GNUNET_CADET_Channel *channel,
+ enum GNUNET_CADET_ChannelInfoOption option,
...);
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnunet] branch master updated (dfeef02bf -> f096bdce8), gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 02/13: Merge branch 'master' into cadet_option, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 01/13: removed GNUNET_CADET_ChannelOption, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 03/13: added per message GNUNET_MQ_PriorityPreferences, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 07/13: Merge branch 'cadet_option' of ssh://gnunet.org/gnunet into cadet_option, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 05/13: added per message GNUNET_MQ_PriorityPreferences, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 06/13: removed channel attributes, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 08/13: fixed chanel_get_info,
gnunet <=
- [GNUnet-SVN] [gnunet] 10/13: simplify, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 12/13: removed last use of old api, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 04/13: removed GNUNET_CADET_ChannelOption, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 09/13: fixed broken api calls in test; fixed broken protocol, gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 13/13: Merge branch 'cadet-new-options', gnunet, 2019/07/21
- [GNUnet-SVN] [gnunet] 11/13: remove duplication MQ options, make conversation build, gnunet, 2019/07/21