Wireshark-commits: [Wireshark-commits] master 8a5b26e: Have wtap_read() fill in a wtap_rec and Buff

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 05 Apr 2019 02:49:49 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8a5b26efb14b7f8f5375383436f03108d52d9aed
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

8a5b26e by Guy Harris (guy@xxxxxxxxxxxx):

    Have wtap_read() fill in a wtap_rec and Buffer.
    
    That makes it - and the routines that implement it - work more like the
    seek-read routine.
    
    Change-Id: I0cace2d0e4c9ebfc21ac98fd1af1ec70f60a240d
    Reviewed-on: https://code.wireshark.org/review/32727
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  b572b65   DOF: Fix alias binding dissection.
     add  8a5b26e   Have wtap_read() fill in a wtap_rec and Buffer.


Summary of changes:
 capinfos.c                        |  58 ++++++++++----------
 capture_info.c                    |  24 +++++----
 debian/libwiretap0.symbols        |   2 -
 editcap.c                         |  14 +++--
 epan/wslua/wslua_file_handler.c   |  18 +++----
 file.c                            |  62 ++++++++++++++-------
 plugins/wiretap/usbdump/usbdump.c |   9 ++--
 reordercap.c                      |  21 ++++----
 sharkd.c                          |  14 +++--
 tfshark.c                         |   3 +-
 tshark.c                          |  61 +++++++++++++--------
 ui/file_dialog.c                  |  12 ++---
 wiretap/5views.c                  |  17 +++---
 wiretap/aethra.c                  |  20 +++----
 wiretap/ascendtext.c              |  18 +++----
 wiretap/btsnoop.c                 |  13 +++--
 wiretap/camins.c                  |   7 +--
 wiretap/capsa.c                   |  11 ++--
 wiretap/catapult_dct2000.c        |  10 ++--
 wiretap/commview.c                |  10 ++--
 wiretap/cosine.c                  |  11 ++--
 wiretap/csids.c                   |  11 ++--
 wiretap/daintree-sna.c            |  10 ++--
 wiretap/dbs-etherwatch.c          |  11 ++--
 wiretap/dct3trace.c               |  11 ++--
 wiretap/dpa400.c                  |   7 +--
 wiretap/erf.c                     |  22 ++++----
 wiretap/eyesdn.c                  |  13 +++--
 wiretap/file_access.c             |   5 --
 wiretap/hcidump.c                 |   7 ++-
 wiretap/i4btrace.c                |  11 ++--
 wiretap/ipfix.c                   |  12 ++---
 wiretap/iptrace.c                 |  30 +++++------
 wiretap/iseries.c                 |  10 ++--
 wiretap/k12.c                     |   4 +-
 wiretap/k12text.l                 |   8 +--
 wiretap/lanalyzer.c               |  12 ++---
 wiretap/libpcap.c                 |  11 ++--
 wiretap/logcat.c                  |   6 +--
 wiretap/logcat_text.c             |   7 ++-
 wiretap/merge.c                   |  20 +++++--
 wiretap/merge.h                   |   2 +
 wiretap/mp2t.c                    |   7 +--
 wiretap/mpeg.c                    |   6 +--
 wiretap/mplog.c                   |   6 +--
 wiretap/netmon.c                  |  12 ++---
 wiretap/netscaler.c               | 111 +++++++++++++++++++-------------------
 wiretap/netscreen.c               |  21 ++++----
 wiretap/nettl.c                   |  15 +++---
 wiretap/nettrace_3gpp_32_423.c    |  38 ++-----------
 wiretap/network_instruments.c     |  16 +++---
 wiretap/netxray.c                 |  17 +++---
 wiretap/ngsniffer.c               |   9 ++--
 wiretap/packetlogger.c            |   9 ++--
 wiretap/pcapng.c                  |  13 ++---
 wiretap/peekclassic.c             |  28 +++++-----
 wiretap/peektagged.c              |  11 ++--
 wiretap/pppdump.c                 |  24 ++++-----
 wiretap/radcom.c                  |  11 ++--
 wiretap/snoop.c                   |  11 ++--
 wiretap/stanag4607.c              |   5 +-
 wiretap/systemd_journal.c         |  10 ++--
 wiretap/toshiba.c                 |  11 ++--
 wiretap/visual.c                  |  11 ++--
 wiretap/vms.c                     |  10 ++--
 wiretap/vwr.c                     |  12 +++--
 wiretap/wtap-int.h                |   8 +--
 wiretap/wtap.c                    |  42 +++++----------
 wiretap/wtap.h                    |  49 ++++++++++++-----
 69 files changed, 597 insertions(+), 571 deletions(-)