[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38094 - gnunet/src/peerinfo
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38094 - gnunet/src/peerinfo |
Date: |
Mon, 10 Oct 2016 17:43:25 +0200 |
Author: grothoff
Date: 2016-10-10 17:43:25 +0200 (Mon, 10 Oct 2016)
New Revision: 38094
Modified:
gnunet/src/peerinfo/peerinfo_api_notify.c
Log:
avoid triggering dropped message 333 warning
Modified: gnunet/src/peerinfo/peerinfo_api_notify.c
===================================================================
--- gnunet/src/peerinfo/peerinfo_api_notify.c 2016-10-10 14:52:47 UTC (rev
38093)
+++ gnunet/src/peerinfo/peerinfo_api_notify.c 2016-10-10 15:43:25 UTC (rev
38094)
@@ -172,6 +172,23 @@
/**
+ * Type of a function to call when we receive a message from the
+ * service. Call the iterator with the result and (if applicable)
+ * continue to receive more messages or trigger processing the next
+ * event (if applicable).
+ *
+ * @param cls closure
+ * @param msg message received, NULL on timeout or fatal error
+ */
+static void
+handle_end_iteration (void *cls,
+ const struct GNUNET_MessageHeader *msg)
+{
+ /* these are ignored by the notify API */
+}
+
+
+/**
* Task to re-try connecting to peerinfo.
*
* @param cls the `struct GNUNET_PEERINFO_NotifyContext *`
@@ -185,6 +202,10 @@
GNUNET_MESSAGE_TYPE_PEERINFO_INFO,
struct InfoMessage,
nc),
+ GNUNET_MQ_hd_fixed_size (end_iteration,
+ GNUNET_MESSAGE_TYPE_PEERINFO_INFO_END,
+ struct GNUNET_MessageHeader,
+ nc),
GNUNET_MQ_handler_end ()
};
struct GNUNET_MQ_Envelope *env;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38094 - gnunet/src/peerinfo,
gnunet <=