curl-library
libcurl: errors string to users
From: Juan F. Codagnone <juam_at_arnet.com.ar>
Date: Mon, 24 Feb 2003 16:49:55 -0300
Received on 2003-02-24
Date: Mon, 24 Feb 2003 16:49:55 -0300
hi. i was looking at libcurl's functions, and i didn't find anything to
convert CURLcode to a nice string to print to the user.
i attach you a script that extracts the comments from curl/curl.h and creates
the function curl_strerror; and an example of the output (curlerr.c). I hope
you find it usefull.
Regards,
Juan.
(please cc me because i'm not in the list)
-- Buenos Aires, Argentina
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
- application/x-awk attachment: gencurlerr.awk
- text/x-csrc attachment: curlerr.c
- application/pgp-signature attachment: signature