aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-09 08:54:49 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-09 08:54:49 +0000
commit995ff4c783691df5462353d0ef4f698942de1010 (patch)
treecb929c9f4e91d09e932c233c73ae9f48808e46a0 /src/include/gnunet_strings_lib.h
parente703948983a444cf4204913602aac2191d72dc8b (diff)
downloadgnunet-995ff4c783691df5462353d0ef4f698942de1010.tar.gz
gnunet-995ff4c783691df5462353d0ef4f698942de1010.zip
-fixing doxygen, indentation
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index eb16a339d..c7d16c947 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -278,10 +278,7 @@ GNUNET_STRINGS_get_short_name (const char *filename);
278 278
279 279
280/** 280/**
281 * Convert binary data to ASCII encoding. The ASCII encoding is rather 281 * Convert binary data to ASCII encoding using Base32Hex (RFC 4648).
282 * GNUnet specific. It was chosen such that it only uses characters
283 * in [0-9A-V], can be produced without complex arithmetics and uses a
284 * small number of characters. The GNUnet encoding uses 103 characters.
285 * Does not append 0-terminator, but returns a pointer to the place where 282 * Does not append 0-terminator, but returns a pointer to the place where
286 * it should be placed, if needed. 283 * it should be placed, if needed.
287 * 284 *
@@ -300,8 +297,8 @@ GNUNET_STRINGS_data_to_string (const void *data,
300 297
301 298
302/** 299/**
303 * Convert ASCII encoding back to data 300 * Convert Base32hex encoding back to data.
304 * out_size must match exactly the size of the data before it was encoded. 301 * @a out_size must match exactly the size of the data before it was encoded.
305 * 302 *
306 * @param enc the encoding 303 * @param enc the encoding
307 * @param enclen number of characters in 'enc' (without 0-terminator, which can be missing) 304 * @param enclen number of characters in 'enc' (without 0-terminator, which can be missing)