summaryrefslogtreecommitdiff
path: root/docs/examples/curlgtk.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-4/+4
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* examples: more descriptionsDaniel Stenberg2015-06-181-2/+5
|
* examples: cleanup curl includesDaniel Stenberg2011-06-281-2/+0
| | | | Only <curl/curl.h> is needed typically and curl/types.h has been removed
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Fixed a surprising number of example programs that were passing int argumentsDan Fandrich2008-05-221-1/+1
| | | | to curl_easy_setopt instead of long.
* Made sure that curl_global_init is called in all the multithreadedDan Fandrich2008-04-031-2/+5
| | | | example programs.
* renamed curl_thread to my_thread to avoid confusionDaniel Stenberg2004-11-221-2/+2
|
* Ken Rastatter's fixes to improve portability of this example:Daniel Stenberg2004-02-091-14/+20
| | | | | | | | | | | | | | | | | | | 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.
* corrected the use of the progress functionDaniel Stenberg2002-03-111-1/+6
|
* win32sockets.c is now added with winsock init/cleanup example functionsDaniel Stenberg2001-02-201-1/+9
|
* David Odin (aka DindinX) for MandrakeSoft, tiny example with GTKDaniel Stenberg2000-11-031-0/+87