diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-01 19:05:45 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-01 19:05:45 +0000 |
commit | 32819733dde7d788a80b99379925e2564632c07a (patch) | |
tree | 0c57c94cea0c695695ed9931183e03886a860682 /include | |
parent | 7066b7cd10e4eb553671c62f163a0e5715a5b860 (diff) |
changes for base64 to work in multiline instances
as well as being more efficient, patch from jcollie's
base64 branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31492 f38db490-d61c-443f-a65b-d21fe96a405b
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); |