diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-16 03:10:33 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-16 03:10:33 +0000 |
commit | 6b22b400d4134e6db68fbebc25a30f5d2afe9ec4 (patch) | |
tree | f889c84b35fcf770b89185d4a367292d66fc5bd7 /include/asterisk/utils.h | |
parent | 53996e84464de3aa908053e9a480e238b11b86e5 (diff) |
More utility cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6798 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/utils.h')
-rwxr-xr-x | include/asterisk/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 992bccde0..cd2098d94 100755 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -142,8 +142,8 @@ extern struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *h \brief Produces MD5 hash based on input string */ extern void ast_md5_hash(char *output, char *input); -extern int ast_base64encode(char *dst, unsigned char *src, int srclen, int max); -extern int ast_base64decode(unsigned char *dst, char *src, int max); +extern int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max); +extern int ast_base64decode(unsigned char *dst, const char *src, int max); /*! ast_uri_encode \brief Turn text string to URI-encoded %XX version |