~ubuntu-branches/ubuntu/raring/curl/raring-updates

« back to all changes in this revision

Viewing changes to lib/curl_base64.h

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2011-11-13 21:07:32 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111113210732-bk5n25x2tu7aplur
Tags: upstream-7.22.0
ImportĀ upstreamĀ versionĀ 7.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
22
22
 *
23
23
 ***************************************************************************/
24
24
 
25
 
size_t Curl_base64_encode(struct SessionHandle *data,
26
 
                          const char *inputbuff, size_t insize,
27
 
                          char **outptr);
 
25
CURLcode Curl_base64_encode(struct SessionHandle *data,
 
26
                            const char *inputbuff, size_t insize,
 
27
                            char **outptr, size_t *outlen);
28
28
 
29
 
size_t Curl_base64_decode(const char *src, unsigned char **outptr);
 
29
CURLcode Curl_base64_decode(const char *src,
 
30
                            unsigned char **outptr, size_t *outlen);
30
31
 
31
32
#endif /* HEADER_CURL_BASE64_H */