summaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.c
Commit message (Collapse)AuthorAgeFilesLines
* examples/post-callback: use long for CURLOPT_POSTFIELDSIZEMarcel Raad2017-09-211-1/+1
| | | | Otherwise, typecheck-gcc.h warns on MinGW-w64.
* examples/post-callback: stop returning one byte at a timeDaniel Stenberg2017-09-041-23/+32
| | | | | | | | ... since people copy and paste code from this example and thus they get an inefficient POST operation without a good reason and sometimes without understanding why. Instead this now returns as much data as possible.
* examples: declare TU-local variables staticMarcel Raad2017-04-301-1/+1
| | | | | This fixes missing-variable-declarations warnings when building with clang.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: provide <DESC> sectionsDaniel Stenberg2015-07-011-2/+4
|
* examples: fix compilation issues - commit 23f8dca6fb follow-upYang Tse2012-12-051-1/+1
|
* Added error checking for curl_global_init().Guenter Knauf2012-07-121-1/+7
|
* Added curl_global_* functions.Guenter Knauf2012-07-121-0/+5
|
* Added error checking for samples.Guenter Knauf2012-07-041-0/+4
|
* examples: fix compiler warningsYang Tse2012-04-131-3/+3
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* examples: use example.com in example URLsDaniel Stenberg2010-10-051-2/+2
|
* 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-3/+3
| | | | to curl_easy_setopt instead of long.
* return 0 not -1 at end of data!Daniel Stenberg2008-04-121-1/+1
|
* fix code that is normally #ifdef'ed outDaniel Stenberg2008-03-131-2/+2
|
* Fixed some more simple compile warnings in the examples.Dan Fandrich2007-07-161-1/+1
|
* Fixed some compile warnings and errors and improved portability in theDan Fandrich2007-07-121-3/+3
| | | | | | examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
* Rene Bernhardt's correctionsDaniel Stenberg2005-12-141-2/+2
|
* lost of more into on how to tweak some headersDaniel Stenberg2004-08-231-7/+45
|
* removed old version checksDaniel Stenberg2003-12-081-10/+0
|
* use the newer option namesDaniel Stenberg2003-12-081-1/+1
|
* new example for libcurl 7.9.6 or laterDaniel Stenberg2002-03-141-0/+89