diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-06-01 19:05:45 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-06-01 19:05:45 +0000 |
commit | d591c1b6842d89086a767616805d4641c38ccc4c (patch) | |
tree | 0c57c94cea0c695695ed9931183e03886a860682 /include | |
parent | fa339925dc123ccb2602eb35cfe2fe92e57c2668 (diff) |
changes for base64 to work in multiline instances
as well as being more efficient, patch from jcollie's
base64 branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 4f563be54..777de476a 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -157,6 +157,7 @@ void ast_md5_hash(char *output, char *input); \brief Produces SHA1 hash based on input string */ void ast_sha1_hash(char *output, char *input); +int ast_base64encode_full(char *dst, const unsigned char *src, int srclen, int max, int linebreaks); int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max); int ast_base64decode(unsigned char *dst, const char *src, int max); |