aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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.
2010-11-07fix snapshot generationYang Tse
2010-11-04fopen.c: re-indented, fixed previous mistakeDaniel Stenberg
I've made the code intended using curl-style now to look more like other examples. My previous "fix" was a bit too invasive but is now fixed again.
2010-11-04multi use: call multi_perform even on select() timeoutsDaniel Stenberg
2010-11-04example: add smtp-multi.cDaniel Stenberg
An example application source code sending SMTP mail with the multi interface. It is based on the code Alona Rossen provided, which in turn is based on existing example/test code, and I converted it even more into a decent example with a fair multi API use, put the info required to edit at the top and I added some comments.
2010-10-05examples: use example.com in example URLsDaniel Stenberg
2010-09-30multi & hiper examples: updates and cleanupsDirk Manske
all multi and hiper examples: * don't loop curl_multi_perform calls, that was <7.20.0 style, currently the exported multi functions will not return CURLM_CALL_MULTI_PERFORM all hiper examples: * renamed check_run_count to check_multi_info * don't compare current running handle count with previous value, this was the wrong way to check for finished requests, simply call curl_multi_info_read * it's also safe to call curl_multi_remove_handle inside the curl_multi_info_read loop. ghiper.c: * replaced curl_multi_socket (that function is marked as obsolete) calls with curl_multi_socket_action calls (as in hiperfifo.c and evhiperfifo.c) ghiper.c and evhiperfifo.c: * be smart as hiperfifo.c, don't do uncessary curl_multi_* calls in new_conn and main
2010-09-14getinmemory: make the example easier to followJames Bursa
1. Remove the comment warning that it's "not been verified to work". It works with no problems in my testing. 2. Remove 2 unnecessary includes. 3. Remove the myrealloc(). Initialize chunk.memory with malloc() instead of NULL. The comments for these two parts contradicted each other. 4. Handle out of memory from realloc() instead of continuing. 5. Print a brief status message at the end.
2010-08-02.gitignore: ignore all built examplesDaniel Stenberg
2010-08-02example: fix code to build warning-freeDaniel Stenberg
2010-07-14examples: add curl_multi_timeoutConstantine Sapuntzakis
Make the multi-interface using examples use curl_multi_timeout to properly educate users how to do things.
2010-06-24examples: new FTP wildcard showcasePavel Raiskup
2010-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg