Mercurial > pidgin
diff src/util.h @ 5426:8d8bf0d31a23
[gaim-migrate @ 5805]
i'm cleaning out my tree
1. new tobase64 function that works better
2. new date/time stamp parsing stuff for jabber
3. other misc stuff, not deserving of specific mention
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 18 May 2003 05:45:18 +0000 |
parents | 381da05cb5ed |
children | e1cc0c67e123 |
line wrap: on
line diff
--- a/src/util.h Sun May 18 05:00:12 2003 +0000 +++ b/src/util.h Sun May 18 05:45:18 2003 +0000 @@ -43,13 +43,14 @@ /** * Converts a string to its base-64 equivalent. * - * @param str The string to convert. + * @param buf The data to convert. + * @param len The length of the data, or -1 if it's a NULL-terminated string. * * @return The base-64 version of @a str. * * @see frombase64() */ -char *tobase64(const char *str); +char *tobase64(const unsigned char *buf, size_t len); /** * Converts a string back from its base-64 equivalent.