aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
2012-11-21examples: Added a c++ example of using multi with boost::asioLijo Antony
Added an example for demonstrating the usage of curl multi interface with boost::asio in c++
2012-11-06httpcustomheader.c: free the headers after useDaniel Stenberg
2012-11-06uniformly use AM_CPPFLAGS, avoid deprecated INCLUDESDave Reisner
Since automake 1.12.4, the warnings are issued on running automake: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Avoid INCLUDES and roll these flags into AM_CPPFLAGS. Compile tested on: Ubuntu 10.04 (automake 1:1.11.1-1) Ubuntu 12.04 (automake 1:1.11.3-1ubuntu2) Arch Linux (automake 1.12.4)
2012-11-01evhiperfifo: fix the pointer passed to WRITEDATADaniel Stenberg
Bug: http://curl.haxx.se/bug/view.cgi?id=3582407 Reported by: Oscar Norlander
2012-10-18href_extractor.c: fix the URLDaniel Stenberg
2012-10-18href_extractor: example code extracting href elementsMichaƂ Kowalczyk
It does so in a streaming manner using the "Streaming HTML parser".
2012-10-01https.c example: remember to call curl_global_init()Kamil Dudka
... in order not to leak memory on initializing an SSL library. Reported by: Tomas Mlcoch
2012-08-27examples: use do/while loop for multi examplesDave Reisner
It's conceivable that after the first time curl_multi_perform returns, the outvalue still_running will be 0, but work will have been done. This is shown by a workload of small, purely file:// based URLs. Ensure that we always read pending messages off the multi handle by forcing the while loop to run at least once.
2012-08-27ftpsget: simple example showing a FTPS fetchDaniel Stenberg
2012-08-27sftpget: SFTP is not "SSH FTP"Daniel Stenberg
2012-08-27sftpget: example showing a simple SFTP downloadArmel Asselin
... using SSH-agent
2012-08-21https.c example: spell check used defineDaniel Stenberg
Bug: http://curl.haxx.se/bug/view.cgi?id=3559845 Reported by: Olivier Berger
2012-07-12Added error checking for curl_global_init().Guenter Knauf
2012-07-12Added curl_global_* functions.Guenter Knauf
2012-07-12Added curl_global_* functions.Guenter Knauf
2012-07-04Removed non-used variable.Guenter Knauf
2012-07-04Added error checking for samples.Guenter Knauf
2012-07-03MinGW makefile tweaks for running from sh.Guenter Knauf
Added function macros to make path converting easier. Added CROSSPREFIX to all compile tools.
2012-05-27Enabled OpenSSL static linkage.Guenter Knauf
2012-05-22Updated dependency libary versions.Guenter Knauf
2012-04-26Updated dependency lib versions.Guenter Knauf
2012-04-20Updated dependency lib versions.Guenter Knauf
2012-04-13examples: fix compiler warningsYang Tse
2012-04-09configure: Windows cross-compilation fixesYang Tse
BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time
2012-01-20examples: updated README with two new example programsDan Fandrich
2012-01-16url2file: new simple exampleDaniel Stenberg
Just showing how to download the contents of a given URL into a local file. Based on a suggestion and example code by Georg Potthast
2012-01-16imap.c: a dead simple imap exampleDaniel Stenberg
Just to show that IMAP is used just like other protocols
2012-01-04OpenSSL: remove reference to openssl internal structPeter Sylvester
With this change, curl compiles with the new OPENSSL_NO_SSL_INTERN cflag. This flag might become the default in some distant future.
2011-12-30examples: update README, Makefile.inc and gitignore with pop3s examplesAlessandro Ghedini
2011-12-30examples: add a couple of simple pop3s examplesAlessandro Ghedini
These examples show how to fetch a single message (RETR command) and how to list all the messages in a given mailbox (LIST command), with authentication via SSL. They were both based on the https.c example.
2011-12-30removed trailing whitespaceYang Tse
2011-12-06Added some include files in a couple of example programsDan Fandrich
This improves portability of the examples. This patch was submitted to the OpenBSD ports collection by naddy.
2011-12-05progress function example: include timed intervalRob Ward
Adds a timer based off of CURLINFO_TOTAL_TIME that is used to perform certain actions after a minimum amount of time has passed using the progress function. As a consequence the curl handle is now also passed into the progress function. Progress example now also includes an example of how to retreive the TOTAL_TIME and print it out.
2011-11-14curl_easy_setopt arguments should be of type long in the examplesDan Fandrich
2011-09-27Added SPNEGO to NetWare build.Guenter Knauf
2011-09-25Fixed MinGW examples makefile.Guenter Knauf
2011-09-25NetWare makefile tweaks to select different builds.Guenter Knauf
2011-09-24Added header to be included by dist script.Guenter Knauf
Probably the wrong place, but I dont know better.
2011-09-23MinGW64 has this prototype already.Guenter Knauf
2011-09-23Fixed scanf format for WORD = unsigned short.Guenter Knauf
2011-09-23Added Win32-only samples.Guenter Knauf
2011-09-23Added a workaround for printing size_t.Guenter Knauf
2011-09-22Added NetWare examples makefile.Guenter Knauf
2011-09-21Another MinGW example makefile tweak.Guenter Knauf
2011-09-21Fixed sample to compile for Windows platform.Guenter Knauf
2011-09-21Changed suffix rules to pattern rules.Guenter Knauf
Suffix rules cannot have any prerequisites of their own.
2011-09-21Some more MinGW build tweaks.Guenter Knauf
Added envvars to specify OpenSSL include, libpath and lib. Added rule to create curlbuild.h from curlbuild.h.dist.
2011-09-20A bunch of MinGW build tweaks.Guenter Knauf
All paths to dependencies now quoted; synced examples makefile.
2011-09-13progressfunc: a simple CURLOPT_PROGRESSFUNCTION exampleDaniel Stenberg
2011-09-07getinmemory.c: use better argument names for write callbackDaniel Stenberg