summaryrefslogtreecommitdiff
path: root/docs/examples/hiperfifo.c
Commit message (Collapse)AuthorAgeFilesLines
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-11/+11
|
* ghiper.c/hiperfifo.c: add comment about missing timer functionalityDaniel Stenberg2017-05-191-3/+11
| | | | | | | | | It takes someone to read up on the APIs of these libraries to figure out how to do this correctly. Reported-by: Michael Kaufmann Closes #1253
* checksrc: stricter no-space-before-paren enforcementDaniel Stenberg2016-12-131-7/+7
| | | | In order to make the code style more uniform everywhere
* checksrc: white space edits to comply to stricter checksrcDaniel Stenberg2016-11-241-2/+3
|
* docs/examples: remove spurious white spaces all overDaniel Stenberg2016-04-031-3/+3
| | | | ... to please the new, slightly picker, checksrc.pl
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-20/+22
| | | | | | | | | | 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.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* hiperfifo: fix the pointer passed to WRITEDATArouzier2015-10-041-1/+1
| | | | Closes https://github.com/bagder/curl/pull/471
* examples: more descriptionsDaniel Stenberg2015-06-181-1/+5
|
* examples: remove all use of CURLM_CALL_MULTI_PERFORMDaniel Stenberg2014-02-171-2/+1
| | | | ... since it is never returned since a long while back.
* hiperfifo: updated to use current libevent APIDaniel Stenberg2013-03-101-24/+42
| | | | Patch by: Myk Taylor
* sources: update source headersDaniel Stenberg2011-03-101-4/+17
| | | | | | 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: socket type cleanupDaniel Stenberg2010-12-181-1/+1
|
* multi & hiper examples: updates and cleanupsDirk Manske2010-09-301-50/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* and now it compiles too!Daniel Stenberg2008-11-191-3/+2
|
* I updated this example to use the modern paradigms of the socket API whereDaniel Stenberg2008-11-191-13/+20
| | | | | *_socket_all() and *_socket() aren't used at all but only *_socket_action() is.
* Fixed a surprising number of example programs that were passing int argumentsDan Fandrich2008-05-221-2/+2
| | | | to curl_easy_setopt instead of long.
* change the code style to be more curlish, and changed some of the outputDaniel Stenberg2008-05-191-14/+19
| | | | to be more descriptive and finally set VERBOSE mode to 1 by default
* removed lots of warningsDaniel Stenberg2008-05-161-23/+29
|
* Fixed some compile warnings and errors and improved portability in theDan Fandrich2007-07-121-2/+2
| | | | | | examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
* - Jeff Pohlmeyer improved the hiperfifo.c example to use theDaniel Stenberg2007-05-021-11/+6
| | | | CURLMOPT_TIMERFUNCTION callback option.
* slightly improvedDaniel Stenberg2006-10-081-0/+4
|
* hiperfifo.c by Jeff PohlmeyerDaniel Stenberg2006-09-121-0/+412