diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-09 08:54:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-09 08:54:49 +0000 |
commit | 995ff4c783691df5462353d0ef4f698942de1010 (patch) | |
tree | cb929c9f4e91d09e932c233c73ae9f48808e46a0 /src/util/strings.c | |
parent | e703948983a444cf4204913602aac2191d72dc8b (diff) | |
download | gnunet-995ff4c783691df5462353d0ef4f698942de1010.tar.gz gnunet-995ff4c783691df5462353d0ef4f698942de1010.zip |
-fixing doxygen, indentation
Diffstat (limited to 'src/util/strings.c')
-rw-r--r-- | src/util/strings.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/strings.c b/src/util/strings.c index c7eda9ad9..964ecc4df 100644 --- a/src/util/strings.c +++ b/src/util/strings.c | |||
@@ -801,10 +801,7 @@ getValue__ (unsigned char a) | |||
801 | 801 | ||
802 | 802 | ||
803 | /** | 803 | /** |
804 | * Convert binary data to ASCII encoding. The ASCII encoding is rather | 804 | * Convert binary data to ASCII encoding using Base32Hex (RFC 4648). |
805 | * GNUnet specific. It was chosen such that it only uses characters | ||
806 | * in [0-9A-V], can be produced without complex arithmetics and uses a | ||
807 | * small number of characters. | ||
808 | * Does not append 0-terminator, but returns a pointer to the place where | 805 | * Does not append 0-terminator, but returns a pointer to the place where |
809 | * it should be placed, if needed. | 806 | * it should be placed, if needed. |
810 | * | 807 | * |
@@ -869,8 +866,8 @@ GNUNET_STRINGS_data_to_string (const void *data, size_t size, char *out, size_t | |||
869 | 866 | ||
870 | 867 | ||
871 | /** | 868 | /** |
872 | * Convert ASCII encoding back to data | 869 | * Convert Base32hex encoding back to data. |
873 | * out_size must match exactly the size of the data before it was encoded. | 870 | * @a out_size must match exactly the size of the data before it was encoded. |
874 | * | 871 | * |
875 | * @param enc the encoding | 872 | * @param enc the encoding |
876 | * @param enclen number of characters in @a enc (without 0-terminator, which can be missing) | 873 | * @param enclen number of characters in @a enc (without 0-terminator, which can be missing) |