diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_fragmentation_lib.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_fragmentation_lib.h')
-rw-r--r-- | src/include/gnunet_fragmentation_lib.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/include/gnunet_fragmentation_lib.h b/src/include/gnunet_fragmentation_lib.h index 3004c7a44..6683a08d7 100644 --- a/src/include/gnunet_fragmentation_lib.h +++ b/src/include/gnunet_fragmentation_lib.h | |||
@@ -88,14 +88,14 @@ typedef void | |||
88 | * @return the fragmentation context | 88 | * @return the fragmentation context |
89 | */ | 89 | */ |
90 | struct GNUNET_FRAGMENT_Context * | 90 | struct GNUNET_FRAGMENT_Context * |
91 | GNUNET_FRAGMENT_context_create(struct GNUNET_STATISTICS_Handle *stats, | 91 | GNUNET_FRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats, |
92 | uint16_t mtu, | 92 | uint16_t mtu, |
93 | struct GNUNET_BANDWIDTH_Tracker *tracker, | 93 | struct GNUNET_BANDWIDTH_Tracker *tracker, |
94 | struct GNUNET_TIME_Relative msg_delay, | 94 | struct GNUNET_TIME_Relative msg_delay, |
95 | struct GNUNET_TIME_Relative ack_delay, | 95 | struct GNUNET_TIME_Relative ack_delay, |
96 | const struct GNUNET_MessageHeader *msg, | 96 | const struct GNUNET_MessageHeader *msg, |
97 | GNUNET_FRAGMENT_MessageProcessor proc, | 97 | GNUNET_FRAGMENT_MessageProcessor proc, |
98 | void *proc_cls); | 98 | void *proc_cls); |
99 | 99 | ||
100 | 100 | ||
101 | /** | 101 | /** |
@@ -106,7 +106,7 @@ GNUNET_FRAGMENT_context_create(struct GNUNET_STATISTICS_Handle *stats, | |||
106 | * @param fc fragmentation context | 106 | * @param fc fragmentation context |
107 | */ | 107 | */ |
108 | void | 108 | void |
109 | GNUNET_FRAGMENT_context_transmission_done(struct GNUNET_FRAGMENT_Context *fc); | 109 | GNUNET_FRAGMENT_context_transmission_done (struct GNUNET_FRAGMENT_Context *fc); |
110 | 110 | ||
111 | 111 | ||
112 | /** | 112 | /** |
@@ -121,8 +121,8 @@ GNUNET_FRAGMENT_context_transmission_done(struct GNUNET_FRAGMENT_Context *fc); | |||
121 | * #GNUNET_SYSERR if this ack is not valid for this fc | 121 | * #GNUNET_SYSERR if this ack is not valid for this fc |
122 | */ | 122 | */ |
123 | int | 123 | int |
124 | GNUNET_FRAGMENT_process_ack(struct GNUNET_FRAGMENT_Context *fc, | 124 | GNUNET_FRAGMENT_process_ack (struct GNUNET_FRAGMENT_Context *fc, |
125 | const struct GNUNET_MessageHeader *msg); | 125 | const struct GNUNET_MessageHeader *msg); |
126 | 126 | ||
127 | 127 | ||
128 | /** | 128 | /** |
@@ -136,9 +136,9 @@ GNUNET_FRAGMENT_process_ack(struct GNUNET_FRAGMENT_Context *fc, | |||
136 | * last message, set to FOREVER if the message was not fully transmitted (OUT only) | 136 | * last message, set to FOREVER if the message was not fully transmitted (OUT only) |
137 | */ | 137 | */ |
138 | void | 138 | void |
139 | GNUNET_FRAGMENT_context_destroy(struct GNUNET_FRAGMENT_Context *fc, | 139 | GNUNET_FRAGMENT_context_destroy (struct GNUNET_FRAGMENT_Context *fc, |
140 | struct GNUNET_TIME_Relative *msg_delay, | 140 | struct GNUNET_TIME_Relative *msg_delay, |
141 | struct GNUNET_TIME_Relative *ack_delay); | 141 | struct GNUNET_TIME_Relative *ack_delay); |
142 | 142 | ||
143 | 143 | ||
144 | /** | 144 | /** |
@@ -148,7 +148,7 @@ GNUNET_FRAGMENT_context_destroy(struct GNUNET_FRAGMENT_Context *fc, | |||
148 | * @return ack in human-readable format | 148 | * @return ack in human-readable format |
149 | */ | 149 | */ |
150 | const char * | 150 | const char * |
151 | GNUNET_FRAGMENT_print_ack(const struct GNUNET_MessageHeader *ack); | 151 | GNUNET_FRAGMENT_print_ack (const struct GNUNET_MessageHeader *ack); |
152 | 152 | ||
153 | 153 | ||
154 | /** | 154 | /** |
@@ -187,12 +187,12 @@ typedef void | |||
187 | * @return the defragmentation context | 187 | * @return the defragmentation context |
188 | */ | 188 | */ |
189 | struct GNUNET_DEFRAGMENT_Context * | 189 | struct GNUNET_DEFRAGMENT_Context * |
190 | GNUNET_DEFRAGMENT_context_create(struct GNUNET_STATISTICS_Handle *stats, | 190 | GNUNET_DEFRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats, |
191 | uint16_t mtu, | 191 | uint16_t mtu, |
192 | unsigned int num_msgs, | 192 | unsigned int num_msgs, |
193 | void *cls, | 193 | void *cls, |
194 | GNUNET_FRAGMENT_MessageProcessor proc, | 194 | GNUNET_FRAGMENT_MessageProcessor proc, |
195 | GNUNET_DEFRAGMENT_AckProcessor ackp); | 195 | GNUNET_DEFRAGMENT_AckProcessor ackp); |
196 | 196 | ||
197 | 197 | ||
198 | /** | 198 | /** |
@@ -201,7 +201,7 @@ GNUNET_DEFRAGMENT_context_create(struct GNUNET_STATISTICS_Handle *stats, | |||
201 | * @param dc defragmentation context | 201 | * @param dc defragmentation context |
202 | */ | 202 | */ |
203 | void | 203 | void |
204 | GNUNET_DEFRAGMENT_context_destroy(struct GNUNET_DEFRAGMENT_Context *dc); | 204 | GNUNET_DEFRAGMENT_context_destroy (struct GNUNET_DEFRAGMENT_Context *dc); |
205 | 205 | ||
206 | 206 | ||
207 | /** | 207 | /** |
@@ -214,8 +214,8 @@ GNUNET_DEFRAGMENT_context_destroy(struct GNUNET_DEFRAGMENT_Context *dc); | |||
214 | * #GNUNET_SYSERR on error | 214 | * #GNUNET_SYSERR on error |
215 | */ | 215 | */ |
216 | int | 216 | int |
217 | GNUNET_DEFRAGMENT_process_fragment(struct GNUNET_DEFRAGMENT_Context *dc, | 217 | GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc, |
218 | const struct GNUNET_MessageHeader *msg); | 218 | const struct GNUNET_MessageHeader *msg); |
219 | 219 | ||
220 | 220 | ||
221 | 221 | ||