diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-10 14:25:51 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-10 14:25:51 +0100 |
| commit | 805aa9fec923109e90c87eda2f116ee2fa5fe962 (patch) | |
| tree | 1896eafafe3acd5febd244f69c12932f1bfb63ec /include | |
| parent | 9213a55bf0cc833d024975865a96a762b7a90b62 (diff) | |
| download | busybox-w32-805aa9fec923109e90c87eda2f116ee2fa5fe962.tar.gz busybox-w32-805aa9fec923109e90c87eda2f116ee2fa5fe962.tar.bz2 busybox-w32-805aa9fec923109e90c87eda2f116ee2fa5fe962.zip | |
progress bar: better overflow protection; more precise bar
function old new delta
bb_progress_update 639 749 +110
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index d390e6840..c0178801f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -1592,8 +1592,9 @@ typedef struct bb_progress_t { | |||
| 1592 | 1592 | ||
| 1593 | void bb_progress_init(bb_progress_t *p) FAST_FUNC; | 1593 | void bb_progress_init(bb_progress_t *p) FAST_FUNC; |
| 1594 | void bb_progress_update(bb_progress_t *p, const char *curfile, | 1594 | void bb_progress_update(bb_progress_t *p, const char *curfile, |
| 1595 | off_t beg_range, off_t transferred, | 1595 | uoff_t beg_range, |
| 1596 | off_t totalsize) FAST_FUNC; | 1596 | uoff_t transferred, |
| 1597 | uoff_t totalsize) FAST_FUNC; | ||
| 1597 | 1598 | ||
| 1598 | extern const char *applet_name; | 1599 | extern const char *applet_name; |
| 1599 | 1600 | ||
