aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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
2009-04-18Avoid compiler warning about unused argument.Gisle Vanem
2009-01-12make this example not only replace an internal header but also add a totallyDaniel Stenberg
new and non-standard one
2008-11-21Markus Koetter's adaptation of hiperfifo.c to instead use libevDaniel Stenberg
2008-11-19and now it compiles too!Daniel Stenberg
2008-11-19I updated this example to use the modern paradigms of the socket API whereDaniel Stenberg
*_socket_all() and *_socket() aren't used at all but only *_socket_action() is.
2008-09-22Argument to CURLMOPT_MAXCONNECTS must be a longDan Fandrich
2008-09-10Checked in some grammatical and minor other fixes in the documentation andDan Fandrich
examples that I found in the FreeBSD ports system.
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-09-05- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. ByDaniel Stenberg
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS or FTPS), libcurl will gather lots of server certificate info and that info can then get extracted by a client after the request has completed with curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing helped me test and smoothen out this feature. Unfortunately, this feature currently only works with libcurl built to use OpenSSL. This feature was sponsored by networking4all.com - thanks!
2008-08-31MSVC adjustmentYang Tse
2008-08-17Pick-up programs from Makefile.inc.Gisle Vanem
2008-08-14Fixed unused variable warningDan Fandrich