diff options
-rw-r--r-- | src/include/gnunet_consensus_service.h | 6 | ||||
-rw-r--r-- | src/include/gnunet_server_lib.h | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h index 6c6bcaa46..1b812290b 100644 --- a/src/include/gnunet_consensus_service.h +++ b/src/include/gnunet_consensus_service.h | |||
@@ -73,9 +73,11 @@ struct GNUNET_CONSENSUS_Element | |||
73 | * | 73 | * |
74 | * @param cls closure | 74 | * @param cls closure |
75 | * @param element new element, NULL on error | 75 | * @param element new element, NULL on error |
76 | * @return GNUNET_OK if the valid is well-formed and should be added to the consensus, | ||
77 | * GNUNET_SYSERR if the element should be ignored and not be propagated | ||
76 | */ | 78 | */ |
77 | typedef void (*GNUNET_CONSENSUS_NewElementCallback) (void *cls, | 79 | typedef int (*GNUNET_CONSENSUS_NewElementCallback) (void *cls, |
78 | struct GNUNET_CONSENSUS_Element *element); | 80 | struct GNUNET_CONSENSUS_Element *element); |
79 | 81 | ||
80 | 82 | ||
81 | 83 | ||
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index aaf47aca5..f59e97015 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -537,10 +537,10 @@ GNUNET_SERVER_transmit_context_destroy (struct GNUNET_SERVER_TransmitContext | |||
537 | /** | 537 | /** |
538 | * The notification context is the key datastructure for a conveniance | 538 | * The notification context is the key datastructure for a conveniance |
539 | * API used for transmission of notifications to the client until the | 539 | * API used for transmission of notifications to the client until the |
540 | * client disconnects (or the notification context is destroyed, in | 540 | * client disconnects or is disconnected (or the notification context |
541 | * which case we disconnect these clients). Essentially, all | 541 | * is destroyed, in which case we disconnect these clients). |
542 | * (notification) messages are queued up until the client is able to | 542 | * Essentially, all (notification) messages are queued up until the |
543 | * read them. | 543 | * client is able to read them. |
544 | */ | 544 | */ |
545 | struct GNUNET_SERVER_NotificationContext; | 545 | struct GNUNET_SERVER_NotificationContext; |
546 | 546 | ||