diff options
Diffstat (limited to 'src/include/gnunet_bio_lib.h')
-rw-r--r-- | src/include/gnunet_bio_lib.h | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/src/include/gnunet_bio_lib.h b/src/include/gnunet_bio_lib.h index 687334c1c..e49ce1354 100644 --- a/src/include/gnunet_bio_lib.h +++ b/src/include/gnunet_bio_lib.h | |||
@@ -138,9 +138,9 @@ GNUNET_BIO_read_meta_data (struct GNUNET_BIO_ReadHandle *h, | |||
138 | * @param f address of float to read | 138 | * @param f address of float to read |
139 | */ | 139 | */ |
140 | int | 140 | int |
141 | GNUNET_BIO_read_float(struct GNUNET_BIO_ReadHandle *h, | 141 | GNUNET_BIO_read_float (struct GNUNET_BIO_ReadHandle *h, |
142 | const char *what, | 142 | const char *what, |
143 | float *f); | 143 | float *f); |
144 | 144 | ||
145 | 145 | ||
146 | /** | 146 | /** |
@@ -151,10 +151,9 @@ GNUNET_BIO_read_float(struct GNUNET_BIO_ReadHandle *h, | |||
151 | * @param f address of double to read | 151 | * @param f address of double to read |
152 | */ | 152 | */ |
153 | int | 153 | int |
154 | GNUNET_BIO_read_double(struct GNUNET_BIO_ReadHandle *h, | 154 | GNUNET_BIO_read_double (struct GNUNET_BIO_ReadHandle *h, |
155 | const char *what, | 155 | const char *what, |
156 | double *f); | 156 | double *f); |
157 | |||
158 | 157 | ||
159 | 158 | ||
160 | /** | 159 | /** |
@@ -171,7 +170,6 @@ GNUNET_BIO_read_int32 (struct GNUNET_BIO_ReadHandle *h, | |||
171 | int32_t *i); | 170 | int32_t *i); |
172 | 171 | ||
173 | 172 | ||
174 | |||
175 | /** | 173 | /** |
176 | * Read an (u)int64_t. | 174 | * Read an (u)int64_t. |
177 | * | 175 | * |
@@ -186,7 +184,6 @@ GNUNET_BIO_read_int64 (struct GNUNET_BIO_ReadHandle *h, | |||
186 | int64_t *i); | 184 | int64_t *i); |
187 | 185 | ||
188 | 186 | ||
189 | |||
190 | /****************************** WRITING API *******************************/ | 187 | /****************************** WRITING API *******************************/ |
191 | 188 | ||
192 | /** | 189 | /** |
@@ -310,9 +307,9 @@ GNUNET_BIO_write_meta_data (struct GNUNET_BIO_WriteHandle *h, | |||
310 | * @param f float to write (must be a variable) | 307 | * @param f float to write (must be a variable) |
311 | */ | 308 | */ |
312 | int | 309 | int |
313 | GNUNET_BIO_write_float(struct GNUNET_BIO_WriteHandle *h, | 310 | GNUNET_BIO_write_float (struct GNUNET_BIO_WriteHandle *h, |
314 | const char *what, | 311 | const char *what, |
315 | float f); | 312 | float f); |
316 | 313 | ||
317 | /** | 314 | /** |
318 | * Write a double. | 315 | * Write a double. |
@@ -322,9 +319,9 @@ GNUNET_BIO_write_float(struct GNUNET_BIO_WriteHandle *h, | |||
322 | * @param f double to write (must be a variable) | 319 | * @param f double to write (must be a variable) |
323 | */ | 320 | */ |
324 | int | 321 | int |
325 | GNUNET_BIO_write_double(struct GNUNET_BIO_WriteHandle *h, | 322 | GNUNET_BIO_write_double (struct GNUNET_BIO_WriteHandle *h, |
326 | const char *what, | 323 | const char *what, |
327 | double f); | 324 | double f); |
328 | 325 | ||
329 | 326 | ||
330 | /** | 327 | /** |
@@ -490,7 +487,7 @@ GNUNET_BIO_read_spec_int64 (const char *what, | |||
490 | * @param f address of float to read | 487 | * @param f address of float to read |
491 | */ | 488 | */ |
492 | struct GNUNET_BIO_ReadSpec | 489 | struct GNUNET_BIO_ReadSpec |
493 | GNUNET_BIO_read_spec_float(const char *what, float *f); | 490 | GNUNET_BIO_read_spec_float (const char *what, float *f); |
494 | 491 | ||
495 | 492 | ||
496 | /** | 493 | /** |
@@ -500,7 +497,7 @@ GNUNET_BIO_read_spec_float(const char *what, float *f); | |||
500 | * @param f address of double to read | 497 | * @param f address of double to read |
501 | */ | 498 | */ |
502 | struct GNUNET_BIO_ReadSpec | 499 | struct GNUNET_BIO_ReadSpec |
503 | GNUNET_BIO_read_spec_double(const char *what, double *f); | 500 | GNUNET_BIO_read_spec_double (const char *what, double *f); |
504 | 501 | ||
505 | 502 | ||
506 | /** | 503 | /** |
@@ -647,7 +644,7 @@ GNUNET_BIO_write_spec_int64 (const char *what, | |||
647 | * @return the write spec | 644 | * @return the write spec |
648 | */ | 645 | */ |
649 | struct GNUNET_BIO_WriteSpec | 646 | struct GNUNET_BIO_WriteSpec |
650 | GNUNET_BIO_write_spec_float(const char *what, float *f); | 647 | GNUNET_BIO_write_spec_float (const char *what, float *f); |
651 | 648 | ||
652 | 649 | ||
653 | /** | 650 | /** |
@@ -658,7 +655,7 @@ GNUNET_BIO_write_spec_float(const char *what, float *f); | |||
658 | * @return the write spec | 655 | * @return the write spec |
659 | */ | 656 | */ |
660 | struct GNUNET_BIO_WriteSpec | 657 | struct GNUNET_BIO_WriteSpec |
661 | GNUNET_BIO_write_spec_double(const char *what, double *f); | 658 | GNUNET_BIO_write_spec_double (const char *what, double *f); |
662 | 659 | ||
663 | 660 | ||
664 | /** | 661 | /** |