progress function example: include timed interval
authorRob Ward <rob@rob-ward.co.uk>
Mon, 5 Dec 2011 22:07:38 +0000 (23:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 22:13:34 +0000 (23:13 +0100)
commit7e4daaf908307220e408754f84a5706efe230a38
treebd3628c82d00ab47942a6f9ea437ab3b2942058b
parent3bbe219be2071a4fa97784da556d810500700002
progress function example: include timed interval

Adds a timer based off of CURLINFO_TOTAL_TIME that is used to perform
certain actions after a minimum amount of time has passed using the
progress function. As a consequence the curl handle is now also passed
into the progress function. Progress example now also includes an
example of how to retreive the TOTAL_TIME and print it out.
docs/examples/progressfunc.c