cURL / Mailing Lists / curl-users / Single Mail

curl-users

converting command line to libcurl code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 Jan 2007 10:23:09 +0100 (CET)

Hey friends!

We do get a fair bunch of questions from people trying to translate a curl
command line into code with libcurl using the native C API or a binding.

I hacked up the attached patch that adds a "--libcurl" command line option for
dumping a simplistic version of the command line in a libcurl equivalent.

Do you think this is a good or bad idea? It'll add a bunch of new strings to
the command line tool, but it might make it easier for people to move into the
libcurl domain...

Received on 2007-01-24