aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/fopen.c
AgeCommit message (Collapse)Author
2010-12-17example: fix compiler warnings in fopen.cDaniel Stenberg
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-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-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-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-02-26spellchecked by Stéphane FillodDaniel Stenberg
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-08-31MSVC adjustmentYang Tse
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2008-04-04Give a hint as to why a url_fopen failed.Dan Fandrich
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2006-10-13Added comments about checking return code and the maxfd counterDaniel Stenberg
2004-11-22remove curl_ prefix from functions not present in libcurlDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2003-12-08removed old version checksDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2003-08-11Vincent Sanders's massive update of this example code. One could argueDaniel Stenberg
weather this is still an "example" or a whole new API layer! ;-)
2003-01-27made it workDaniel Stenberg
made it cause less compiler warnings made it require 7.9.7 to build
2002-05-13fopen.c added, a fopen() style emulation for URL readingDaniel Stenberg