diff options
author | Ashok Narayanan <ashokn@cisco.com> | 1999-09-23 04:39:01 +0000 |
---|---|---|
committer | Ashok Narayanan <ashokn@cisco.com> | 1999-09-23 04:39:01 +0000 |
commit | 501b9b05e19391fba0e33751b41bb6a47063491a (patch) | |
tree | 5c1982f3297f1cf679f2cbb229df4b37f895a1da /wiretap/ascend-scanner.l | |
parent | 5953b86866ee16efb2badc9603080e90fa9f86d6 (diff) |
Adds progress bar functionality back for loading files (it was changed to
bounce bar for compressed file support). Note that the progress bar may
not grow smoothly for compressed files, but it should be reasonably accurate
for files which are large enough to matter.
svn path=/trunk/; revision=701
Diffstat (limited to 'wiretap/ascend-scanner.l')
-rw-r--r-- | wiretap/ascend-scanner.l | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l index c80b208dd1..4d8a59c7ca 100644 --- a/wiretap/ascend-scanner.l +++ b/wiretap/ascend-scanner.l @@ -12,7 +12,10 @@ #include "file.h" void *yy_fh; -#define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); } +extern char *ascend_ra_ptr; +extern char *ascend_ra_last; +#define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \ +result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); } struct ascend_phdr *pseudo_header; |