aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-06-23 20:15:28 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-06-23 20:15:28 +0200
commit812a41362a9316da1734fdaa8b1aad36bde9cb5c (patch)
treeac6aac55781de07e9e7e99ddfb2b8b74ab1debb2 /util.h
parent00ab35016e3646aa936ae0c3d7a8531ec68d6f24 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 8e13d9dd..c7eec19b 100644
--- a/util.h
+++ b/util.h
@@ -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 );