From f9526b65f58e9e2d11c5fdec03843f8d3a6210a0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 18 Apr 2011 21:51:06 +0200 Subject: [PATCH] fb-grow: Updated documentation, so that our doc tools can digest it --- ucw/fastbuf.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ucw/fastbuf.h b/ucw/fastbuf.h index 197dc94f..f418f667 100644 --- a/ucw/fastbuf.h +++ b/ucw/fastbuf.h @@ -387,9 +387,13 @@ struct fastbuf *fbgrow_create(unsigned basic_size); /** Create the growing buffe struct fastbuf *fbgrow_create_mp(struct mempool *mp, unsigned basic_size); /** Create the growing buffer pre-allocated to @basic_size bytes. **/ void fbgrow_reset(struct fastbuf *b); /** Reset stream and prepare for writing. **/ void fbgrow_rewind(struct fastbuf *b); /** Prepare for reading (of already written data). **/ -uns fbgrow_get_buf(struct fastbuf *b, byte **buf); /** Can be used in any state of @b (for example when writing or after fbgrow_rewind()) to - return the pointer to internal buffer and its length in bytes. The returned buffer - can be invalidated by further requests. **/ + +/** + * Can be used in any state of @b (for example when writing or after + * @fbgrow_rewind()) to return the pointer to internal buffer and its length in + * bytes. The returned buffer can be invalidated by further requests. + **/ +uns fbgrow_get_buf(struct fastbuf *b, byte **buf); /*** * === Fastbuf on memory pools [[fbpool]] -- 2.39.2