aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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
2010-12-17smtp-tls: new exampleBrad Hards
This example shows how to send SMTP with TLS
2010-12-17Docs: add simple SMTP exampleBrad Hards
Add a simple SMTP example program, patterned after some of the existing examples, and the curl application. This version addresses issues raised by David Woodhouse on comments in the simplesmtp.c example.
2010-12-17example: fix compiler warnings in fopen.cDaniel Stenberg
2010-12-17chkspeed: bad strtol() call for -M optionBrad Hards
Bug: http://curl.haxx.se/mail/lib-2010-12/0192.html
2010-12-03version-check: added brief documentationDaniel Stenberg
and the traditional source header
2010-11-28atoi: remove atoi usageYang Tse
2010-11-19Added a couple examples that were missing from the tar ballDan Fandrich
2010-11-12version-check.pl: display version number for symbolsDaniel Stenberg
This script is the start of a helper tool that scans a source code and outputs the most recent libcurl version it finds symbols for. Meaning that if there's no conditions in the code, that's the earliest libcurl version the scanned code requires. It is not added to the Makefile.am yet as it is still a bit crude, but I'm committing it to keep it and allow us to work on it.