aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fragmentation_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_fragmentation_lib.h')
-rw-r--r--src/include/gnunet_fragmentation_lib.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/include/gnunet_fragmentation_lib.h b/src/include/gnunet_fragmentation_lib.h
index da236478c..1f1f85321 100644
--- a/src/include/gnunet_fragmentation_lib.h
+++ b/src/include/gnunet_fragmentation_lib.h
@@ -105,8 +105,8 @@ struct GNUNET_FRAGMENT_Context *GNUNET_FRAGMENT_context_create (struct
105 * 105 *
106 * @param fc fragmentation context 106 * @param fc fragmentation context
107 */ 107 */
108void 108void GNUNET_FRAGMENT_context_transmission_done (struct GNUNET_FRAGMENT_Context
109GNUNET_FRAGMENT_context_transmission_done (struct GNUNET_FRAGMENT_Context *fc); 109 *fc);
110 110
111 111
112/** 112/**
@@ -132,8 +132,9 @@ int GNUNET_FRAGMENT_process_ack (struct GNUNET_FRAGMENT_Context *fc,
132 * @return average delay between transmission and ACK for the 132 * @return average delay between transmission and ACK for the
133 * last message, FOREVER if the message was not fully transmitted 133 * last message, FOREVER if the message was not fully transmitted
134 */ 134 */
135struct GNUNET_TIME_Relative 135struct GNUNET_TIME_Relative GNUNET_FRAGMENT_context_destroy (struct
136GNUNET_FRAGMENT_context_destroy (struct GNUNET_FRAGMENT_Context *fc); 136 GNUNET_FRAGMENT_Context
137 *fc);
137 138
138 139
139/** 140/**
@@ -152,8 +153,7 @@ struct GNUNET_DEFRAGMENT_Context;
152 * @param id unique message ID (modulo collisions) 153 * @param id unique message ID (modulo collisions)
153 * @param msg the message that was created 154 * @param msg the message that was created
154 */ 155 */
155typedef void (*GNUNET_DEFRAGMENT_AckProcessor) (void *cls, 156typedef void (*GNUNET_DEFRAGMENT_AckProcessor) (void *cls, uint32_t id,
156 uint32_t id,
157 const struct 157 const struct
158 GNUNET_MessageHeader * msg); 158 GNUNET_MessageHeader * msg);
159 159
@@ -200,9 +200,8 @@ void GNUNET_DEFRAGMENT_context_destroy (struct GNUNET_DEFRAGMENT_Context *dc);
200 * @param msg the message that was received 200 * @param msg the message that was received
201 * @return GNUNET_OK on success, GNUNET_NO if this was a duplicate, GNUNET_SYSERR on error 201 * @return GNUNET_OK on success, GNUNET_NO if this was a duplicate, GNUNET_SYSERR on error
202 */ 202 */
203int 203int GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc,
204GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc, 204 const struct GNUNET_MessageHeader *msg);
205 const struct GNUNET_MessageHeader *msg);
206 205
207 206
208#if 0 /* keep Emacsens' auto-indent happy */ 207#if 0 /* keep Emacsens' auto-indent happy */