diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-04-04 00:41:35 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-04-04 10:21:47 +0000 |
commit | 67644354a13051bff3d93c5235902e29234aceee (patch) | |
tree | c4f3d417cbd3104e245705b8e02984438947a8e1 /wiretap/dbs-etherwatch.c | |
parent | 52324097c24bbc757f15f5193a9a391dca205117 (diff) |
Clean file reading code.
Put the pass 1 of a two-pass read, pass 2 of a two-pass read, and only
pass of a one-pass read into separate routines, returning success/read
error/write error status codes.
This makes the processing a bit cleaner, and makes it easier to have the
file-reading code catch signals/control events.
Change-Id: I58cd9e4b86f219f3afa2dc61b57f41978fc2f853
Reviewed-on: https://code.wireshark.org/review/32711
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/dbs-etherwatch.c')
0 files changed, 0 insertions, 0 deletions