Add curl example - generate C code by curl

This commit is contained in:
Juraj Michalek
2013-05-01 11:43:43 +02:00
parent 01739c98ff
commit c8a5e7aaec
3 changed files with 20 additions and 0 deletions
+14
View File
@@ -25,6 +25,20 @@ How to run:
./example-02 ./example-02
./example-03 ./example-03
curl
----
curl command line tool for sending requests via http and many other protocols.
It is also able to create skeleton of C application for libcurl.
How to run:
cd curl
./generate-source-code.sh
./compile-source-code.sh
./download
GTK+ GTK+
---- ----
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
gcc -lcurl download.c -o download
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
curl http://www.ysoft.com -o index.html --libcurl download.c