aboutsummaryrefslogtreecommitdiff
path: root/src/util/buffer.c
Commit message (Collapse)AuthorAge
* fix typeChristian Grothoff2020-08-03
|
* fix SIGSEGV in GNUNET_buffer_write_data_encodedFlorian Dold2020-07-30
|
* implement GNUNET_buffer_write_data_encodedFlorian Dold2020-07-30
|
* GNUNET_free_non_null -> GNUNET_freeChristian Grothoff2020-07-05
|
* Improved BIO APIAlessio Vanni2020-05-19
| | | | | | | | | | | | | | | | | | | | BIO now supports reading from and writing to in-memory buffers. For reading, an allocated buffer (array) and a size is passed as arguments to the function opening the handle. For writing, a GNUNET_Buffer is created and used internally. The buffer contents can be extracted using the relevant function. There is a new API in addition to the existing read/write: this new API is more "declarative" in nature and is meant to mimic APIs like GNUNET_SQ. The read/write operations are defined in an array of specs which are then "commited" in a single (non-atomic) operation, rather than explicitly executing multiple function calls and checking their return value. Also there are small changes to GNUNET_Buffer to account for BIO's new features. Signed-off-by: Christian Grothoff <christian@grothoff.org>
* check for integer overflow in buffer lib (fixes #6217)Florian Dold2020-04-24
|
* indentationChristian Grothoff2020-04-10
|
* move buffer library from GNU Taler to GNUnetFlorian Dold2020-01-15