aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_bio_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_bio_lib.h')
-rw-r--r--src/include/gnunet_bio_lib.h35
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 */
140int 140int
141GNUNET_BIO_read_float(struct GNUNET_BIO_ReadHandle *h, 141GNUNET_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 */
153int 153int
154GNUNET_BIO_read_double(struct GNUNET_BIO_ReadHandle *h, 154GNUNET_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 */
312int 309int
313GNUNET_BIO_write_float(struct GNUNET_BIO_WriteHandle *h, 310GNUNET_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 */
324int 321int
325GNUNET_BIO_write_double(struct GNUNET_BIO_WriteHandle *h, 322GNUNET_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 */
492struct GNUNET_BIO_ReadSpec 489struct GNUNET_BIO_ReadSpec
493GNUNET_BIO_read_spec_float(const char *what, float *f); 490GNUNET_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 */
502struct GNUNET_BIO_ReadSpec 499struct GNUNET_BIO_ReadSpec
503GNUNET_BIO_read_spec_double(const char *what, double *f); 500GNUNET_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 */
649struct GNUNET_BIO_WriteSpec 646struct GNUNET_BIO_WriteSpec
650GNUNET_BIO_write_spec_float(const char *what, float *f); 647GNUNET_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 */
660struct GNUNET_BIO_WriteSpec 657struct GNUNET_BIO_WriteSpec
661GNUNET_BIO_write_spec_double(const char *what, double *f); 658GNUNET_BIO_write_spec_double (const char *what, double *f);
662 659
663 660
664/** 661/**