aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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
2011-08-23resolve.c: new example showing off CURLOPT_RESOLVEDaniel Stenberg
2011-08-23externalsocket.c: new exampleDaniel Stenberg
2011-08-13ignore rtspDaniel Stenberg
2011-08-10rtsp.c: converted to CDaniel Stenberg
Trimmed the newlines to be LF-only. Converted the source to plain C, to use curl style indents, to compile warning-free with picky options and fixed the minor fprintf() bug on line 245. Added to makefile.
2011-08-10rtsp.c: new exampleJim Hollinger
Code from http://code.google.com/p/rtsprequest/source/browse/trunk/rtsprequest.cpp
2011-06-28examples: cleanup curl includesDaniel Stenberg
Only <curl/curl.h> is needed typically and curl/types.h has been removed
2011-04-28anyauthput.c: stdint.h must not be included unconditionallyDaniel Stenberg
As it is already included by curlbuild.h if it exists on the platform it was included here superfluously anyway. Reported by: Dagobert Michelsen Bug: http://curl.haxx.se/bug/view.cgi?id=3294509
2011-04-07examples/makefile.dj: update emailGisle Vanem
2011-03-12source header: added to more filesDaniel Stenberg
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-12-25Use angle address, as for the rest of the example.Brad Hards
Also spelling fix for RECIPIENT #define.
2010-12-25Add angle brackets to addresses in easy SMTP examples, as for smtp-multi ↵Brad Hards
example.
2010-12-23smtp-multi: put recipient within <brackets>Daniel Stenberg
Even if libcurl might to do it for us, it is more correct.
2010-12-22smtp-tls: add a missing newlineBrad Hards
Without this you won't get the next (Subject) line.
2010-12-18examples: socket type cleanupDaniel Stenberg
2010-12-18smtp-tls: add Message-ID: headerBrad Hards
2010-12-17gitignore: ignore the new example execsDaniel Stenberg
2010-12-17examples: fix compiler warningsDaniel Stenberg
2010-12-17examples: build all examples easierDaniel Stenberg