[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25163 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25163 - gnunet/src/include |
Date: |
Thu, 29 Nov 2012 15:04:08 +0100 |
Author: grothoff
Date: 2012-11-29 15:04:08 +0100 (Thu, 29 Nov 2012)
New Revision: 25163
Modified:
gnunet/src/include/gnunet_consensus_service.h
gnunet/src/include/gnunet_server_lib.h
Log:
-docu
Modified: gnunet/src/include/gnunet_consensus_service.h
===================================================================
--- gnunet/src/include/gnunet_consensus_service.h 2012-11-29 10:28:33 UTC
(rev 25162)
+++ gnunet/src/include/gnunet_consensus_service.h 2012-11-29 14:04:08 UTC
(rev 25163)
@@ -73,9 +73,11 @@
*
* @param cls closure
* @param element new element, NULL on error
+ * @return GNUNET_OK if the valid is well-formed and should be added to the
consensus,
+ * GNUNET_SYSERR if the element should be ignored and not be propagated
*/
-typedef void (*GNUNET_CONSENSUS_NewElementCallback) (void *cls,
- struct
GNUNET_CONSENSUS_Element *element);
+typedef int (*GNUNET_CONSENSUS_NewElementCallback) (void *cls,
+ struct
GNUNET_CONSENSUS_Element *element);
Modified: gnunet/src/include/gnunet_server_lib.h
===================================================================
--- gnunet/src/include/gnunet_server_lib.h 2012-11-29 10:28:33 UTC (rev
25162)
+++ gnunet/src/include/gnunet_server_lib.h 2012-11-29 14:04:08 UTC (rev
25163)
@@ -537,10 +537,10 @@
/**
* The notification context is the key datastructure for a conveniance
* API used for transmission of notifications to the client until the
- * client disconnects (or the notification context is destroyed, in
- * which case we disconnect these clients). Essentially, all
- * (notification) messages are queued up until the client is able to
- * read them.
+ * client disconnects or is disconnected (or the notification context
+ * is destroyed, in which case we disconnect these clients).
+ * Essentially, all (notification) messages are queued up until the
+ * client is able to read them.
*/
struct GNUNET_SERVER_NotificationContext;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25163 - gnunet/src/include,
gnunet <=