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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_bio_lib.h b/src/include/gnunet_bio_lib.h
index 47d8d5e1e..b490fdf54 100644
--- a/src/include/gnunet_bio_lib.h
+++ b/src/include/gnunet_bio_lib.h
@@ -225,6 +225,17 @@ GNUNET_BIO_write (struct GNUNET_BIO_WriteHandle *h, const void *buffer,
225 225
226 226
227/** 227/**
228 * Force a buffered writer to flush its buffer
229 *
230 * @param h the writer handle
231 * @return GNUNET_OK upon success. Upon failure GNUNET_SYSERR is returned and
232 * the file is closed
233 */
234int
235GNUNET_BIO_flush (struct GNUNET_BIO_WriteHandle *h);
236
237
238/**
228 * Write a string to a file. 239 * Write a string to a file.
229 * 240 *
230 * @param h handle to open file 241 * @param h handle to open file