aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index c7d16c947..387f3a135 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -297,6 +297,21 @@ GNUNET_STRINGS_data_to_string (const void *data,
297 297
298 298
299/** 299/**
300 * Return the base32crockford encoding of the given buffer.
301 *
302 * The returned string will be freshly allocated, and must be free'd
303 * with #GNUNET_free().
304 *
305 * @param buffer with data
306 * @param size size of the buffer
307 * @return freshly allocated, null-terminated string
308 */
309char *
310GNUNET_STRINGS_data_to_string_alloc (const void *buf,
311 size_t size);
312
313
314/**
300 * Convert Base32hex encoding back to data. 315 * Convert Base32hex encoding back to data.
301 * @a out_size must match exactly the size of the data before it was encoded. 316 * @a out_size must match exactly the size of the data before it was encoded.
302 * 317 *