diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-01 20:53:06 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-01 20:53:06 +0100 |
commit | 364250c4614d2c23623d712027fa93f7d58aaf99 (patch) | |
tree | 6571cc51caa4a55d663e6f8b2b5a4a70e1b6a59d /lib/curl_base64.h | |
parent | f73f43d590cfcdf3bab0ef0bfb34ff0f81e1acb5 (diff) |
Imported Upstream version 7.22.0
Diffstat (limited to 'lib/curl_base64.h')
-rw-r--r-- | lib/curl_base64.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/curl_base64.h b/lib/curl_base64.h index 2498a0a2..6e200d2e 100644 --- a/lib/curl_base64.h +++ b/lib/curl_base64.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -22,10 +22,11 @@ * ***************************************************************************/ -size_t Curl_base64_encode(struct SessionHandle *data, - const char *inputbuff, size_t insize, - char **outptr); +CURLcode Curl_base64_encode(struct SessionHandle *data, + const char *inputbuff, size_t insize, + char **outptr, size_t *outlen); -size_t Curl_base64_decode(const char *src, unsigned char **outptr); +CURLcode Curl_base64_decode(const char *src, + unsigned char **outptr, size_t *outlen); #endif /* HEADER_CURL_BASE64_H */ |