cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL and Dynamic C

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Feb 2009 10:48:00 +0100 (CET)

On Mon, 2 Feb 2009, हर्षद नटीये wrote:

> I am new to cURL. I want to use cURL library with "Rabbit controller boards"
> which uses Dynamic C. (Dynamic C user manual is available at
> http://www.rabbit.com/documentation/docs/manuals/DC/DCUserManual10/DCPUM.pdf
> )
>
> I want to use features like HTTP,FTP (not all the features.) provided by
> cURL with Dynamic C. Is it possible to port this library on these controller
> boards ? Has anybody worked on it ? Let me know what information is needed
> while porting the above features.

You basically have two options:

1) just invoke the curl command line tool from within your programs just like
you can from any other language. This is often the quickest way forward.

2) make a "binding" for libcurl for the "Dynamic C" language. There are 30+
existing bindings for libcurl for just about every imaginable programming
language already and using their source codes could be a way to get
inspiration on how to make your own. For libcurl help you can use the
curl-library mailing list, but for Dynamic C specific things you're better off
asking in a forum where such knowledgable persons might hang out.

Of course option 2 also implies that you can port/build libcurl as-is for your
target hardware + OS.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-02