| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: external access to the curl base64 functions
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Sep 2002 11:00:04 +0200 (MET DST)
On Fri, 27 Sep 2002, Andrew Francis wrote:
> The functions Curl_base64_encode and Curl_base64_decode (lib/base64.c) are
Right, and in the internal curl naming convention this can be seen by the
> I think that these are useful routines, and AFAIK they are always in the
They are, yes.
> I think it would be a good idea to make them available to the application
Well, it would of course mean a very little extra cost for libcurl, since
But... exporting them to others will require a sensible API that people like
int Curl_base64_encode(char *orig, int origlength, char **resulptr)
Returns the length, with the encoded string being allocated and pointed to
int Curl_base64_decode(char *orig, char *result)
Returns the lenght of the resulting decoded data. Converts the 'orig'
They don't seem really fit to throw on the innocent public in this state.
Any suggestions?
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-09-27 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info