Mercurial > pidgin
comparison src/util.h @ 5451:e1cc0c67e123
[gaim-migrate @ 5839]
some compile cleanups, and more importantly, the rest of that tobase16 fix
that I forgot about
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 20 May 2003 01:31:56 +0000 |
parents | 8d8bf0d31a23 |
children | 3c7748b24410 |
comparison
equal
deleted
inserted
replaced
5450:bb1e160467b6 | 5451:e1cc0c67e123 |
---|---|
71 * | 71 * |
72 * @return The base-16 string. | 72 * @return The base-16 string. |
73 * | 73 * |
74 * @see frombase16() | 74 * @see frombase16() |
75 */ | 75 */ |
76 char *tobase16(const char *str, int len); | 76 unsigned char *tobase16(const unsigned char *str, int len); |
77 | 77 |
78 /** | 78 /** |
79 * Converts a string back from its base-16 equivalent. | 79 * Converts a string back from its base-16 equivalent. |
80 * | 80 * |
81 * @param str The string to convert back. | 81 * @param str The string to convert back. |
82 * @param ret_str The returned, non-base-16 string. | 82 * @param ret_str The returned, non-base-16 string. |
83 * | 83 * |
84 * @return The length of the returned string. | 84 * @return The length of the returned string. |
85 * | 85 * |
86 * @see tobase16() | 86 * @see tobase16() |
87 */ | 87 */ |
88 int frombase16(const char *str, char **ret_str); | 88 int frombase16(const char *str, char **ret_str); |