aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
2004-05-13basic https fetching scriptDaniel Stenberg
2004-04-02if select returns -1, bail out of the loopDaniel Stenberg
2004-03-28use the correct structDaniel Stenberg
2004-02-09Ken Rastatter's fixes to improve portability of this example:Daniel Stenberg
These minor changes remove portability issues with the this example and allow it to run on Win32. Specifically: * The use of pthread_create() has been replaced by g_thread_create(). This removes the dependency on the pthreads library. Since this is an example using GTK+, g_thread_create() is available as it is a part of glibc. * The CURLOPT_FILE option is now referred to by its "newer name" CURLOPT_WRITEDATA. * The use of CURLOPT_WRITEFUNCTION has been added. As described in the docs, this avoids the crashes when using a DLL under Win32. * The output file has been renamed from "/tmp/test.curl" to "test.curl". It's unlikely that there is a /tmp when in Win32 and other examples in libcurl write their output files to the working directory.
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-12-18typecast the size to long for platforms where st_size is off_tDaniel Stenberg
2003-12-18clarified the URL part based on the problems Martin Hilpert hadDaniel Stenberg
2003-12-08removed old version checksDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2003-11-19cut off old crappy win32 comments and use the proper global_init insteadDaniel Stenberg
also removed very old "require libcurl older than blablabla"
2003-11-19cleaned upDaniel Stenberg
2003-11-19remove the wrong win32 comment and use global_initDaniel Stenberg
2003-10-03Peter Sylvester's curlx.c code example addedDaniel Stenberg
2003-08-28Henrik Storner's rewrite that includes a nice usage of curl_multi_info_read()Daniel 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-05-21 Gisle Vanem made curl build with djgpp on DOS.Daniel Stenberg
2003-05-20missing semicolon, by Gisle VanemDaniel Stenberg
2003-03-17Andy Cedilnik's correctionsDaniel Stenberg
2003-03-10no the data is not freed, this is left for the app to do when neededDaniel Stenberg
2003-01-27made it workDaniel Stenberg
made it cause less compiler warnings made it require 7.9.7 to build
2003-01-09fixDaniel Stenberg
2003-01-09call curl_multi_perform() correctlyDaniel Stenberg
2002-12-03Jeff pointed out this flaw in the exampleDaniel Stenberg
2002-11-22don't use curl.haxx.seDaniel Stenberg
2002-08-14re-order the compiler arguments to keep more compiler happyDaniel Stenberg
2002-08-12added comment about CURLOPT_WRITEDATA for directing contents somewhereDaniel Stenberg
2002-08-08makes things betterDaniel Stenberg
2002-06-19removed the php/examples reference as that dir is not in the archivesDaniel Stenberg
2002-06-19simplified the compile line even moreDaniel Stenberg
2002-06-19simplepost.c shows a simple POST ;-)Daniel Stenberg
2002-05-13we don't need win32sockets.c anymore, we support this internallyDaniel Stenberg
2002-05-13fopen.c added, a fopen() style emulation for URL readingDaniel Stenberg
2002-05-06Added multi-post.c, based on the source file posted by Gustaf HuiDaniel Stenberg
2002-03-19Added the three multi interface source code examples to the distribDaniel Stenberg
2002-03-19fixed include and added headerDaniel Stenberg
2002-03-14new example for libcurl 7.9.6 or laterDaniel Stenberg
2002-03-11corrected the use of the progress functionDaniel Stenberg
2002-03-04multi interface using examplesDaniel Stenberg
2002-01-25postit.c is removed, it used the deprecated curl_formparse() and mayDaniel Stenberg
encourage people to use bad functions
2002-01-17added a comment about this example only works with 7.9.3 and newer libsDaniel Stenberg
2002-01-16added a somewhat cool single-line command that builds most example sourcesDaniel Stenberg
on unix-like systems
2002-01-13Götz Babin-Ebell updated with some new 7.9.3 featuresDaniel Stenberg
2002-01-10added http-post.cDaniel Stenberg
2002-01-09bad comment begoneDaniel Stenberg
2002-01-09cut off argc and argv as wellDaniel Stenberg
2002-01-09Cleaned up this example to make it even simpler.Daniel Stenberg
2002-01-08I made the write callback create the file the first time it gets called soDaniel Stenberg
that it won't create an empty file if the remote file doesn't exist
2002-01-08another example source addedDaniel Stenberg
2002-01-087.9.3 pre-release commitDaniel Stenberg
2001-12-18Götz Babin-Ebell's contributed "simplessl.c" example source codeDaniel Stenberg