|
ELinks 0.19.1
|


Data Structures | |
| struct | progress |
Macros | |
| #define | CURRENT_SPD_SEC 50 /* number of seconds */ |
Functions | |
| struct progress * | init_progress (off_t start) |
| void | done_progress (struct progress *progress) |
| void | update_progress (struct progress *progress, off_t loaded, off_t size, off_t pos) |
| void | start_update_progress (struct progress *progress, void(*timer_func)(void *), void *timer_func_data) |
| int | has_progress (struct progress *progress) |
| #define CURRENT_SPD_SEC 50 /* number of seconds */ |
| void done_progress | ( | struct progress * | progress | ) |
| int has_progress | ( | struct progress * | progress | ) |
| struct progress * init_progress | ( | off_t | start | ) |
| void start_update_progress | ( | struct progress * | progress, |
| void(* | timer_func )(void *), | ||
| void * | timer_func_data ) |
Unlike in install_timer(), timer_func need not erase the expired timer ID from progress->timer. update_progress() installs the timer with a wrapper function that takes care of erasing the timer ID.
| void update_progress | ( | struct progress * | progress, |
| off_t | loaded, | ||
| off_t | size, | ||
| off_t | pos ) |