aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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
2010-02-26spellchecked by Stéphane FillodDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-14removed trailing whitespaceYang Tse
2010-01-21Yun Fu pointed out a flaw in the loop that checks handles, and I indentedDaniel Stenberg
the code more curl-style
2010-01-04use the modern name for this optionDaniel Stenberg
2009-11-05I removed leading 'curl' path on the 'curlbuild.h' include statement inYang Tse
curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
2009-11-02strerror() => curl_easy_strerror()Daniel Stenberg
2009-09-10use stderr for error output.Gunter Knauf
2009-09-10fixed spelling.Gunter Knauf
2009-09-05add ftpgetinfoDaniel Stenberg
2009-09-05added ftpgetinfo sample since users asked frequently for such a sample.Gunter Knauf
2009-09-03added chkspeed to samples.Gunter Knauf
2009-09-03updated MingW32 makefile for recent external libs.Gunter Knauf
2009-08-31added simple chkspeed sample.Gunter Knauf
2009-06-10VMS adjustmentYang Tse
2009-06-08Use curl_off_t and CURL_FORMAT_CURL_OFF_T for file size.Yang Tse
2009-06-05docs/example patches for VMSYang Tse
2009-05-19Remove empty line used to force CVS to update the $Id date string formatYang Tse
2009-05-18Add empty line, to force CVS to update the $Id date string formatYang Tse