diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-23 20:15:28 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-23 20:15:28 +0200 |
commit | 812a41362a9316da1734fdaa8b1aad36bde9cb5c (patch) | |
tree | ac6aac55781de07e9e7e99ddfb2b8b74ab1debb2 /util.h | |
parent | 00ab35016e3646aa936ae0c3d7a8531ec68d6f24 (diff) |
Added saner base64 encoding function (actually, moved the one from libyahoo2.c
to core, with some changes), which I need for the XML format password garbling.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ G_MODULE_EXPORT void strip_linefeed( gchar *text ); G_MODULE_EXPORT char *add_cr( char *text ); G_MODULE_EXPORT char *strip_newlines(char *source); G_MODULE_EXPORT char *tobase64( const char *text ); +G_MODULE_EXPORT void base64_encode_real( const unsigned char *in, int inlen, unsigned char *out, char *b64digits ); G_MODULE_EXPORT char *normalize( const char *s ); G_MODULE_EXPORT void info_string_append( GString *str, char *newline, char *name, char *value ); |