Wireshark-commits: [Wireshark-commits] master 7d95c27: ERF: split wiretap/erf.h into three files.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 02 May 2020 04:24:17 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7d95c27de2d74f08610485cda3ed8378b5b12dc4
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7d95c27 by Guy Harris (guy@xxxxxxxxxxxx):

    ERF: split wiretap/erf.h into three files.
    
    wiretap/erf_record.h has declarations for records in ERF files and in
    LINKTYPE_ERF packets in pcap and pcapng files.
    
    wiretap/erf-common.h has declarations of routines to be called by
    pcap/pcapng reader code when processing LINKTYPE_ERF packets.
    
    wiretap/erf.h is what's left, for use by wiretap/erf.c and the code with
    the tables of file readers and writers.
    
    Change-Id: Ia982e79b14a025a80dcbc7c812fb3b2cdb9c6aaa
    Reviewed-on: https://code.wireshark.org/review/37021
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    

Actions performed:

    from  9d30864   wiretap/erf: Get rid of no-longer-used routine.
     add  7d95c27   ERF: split wiretap/erf.h into three files.


Summary of changes:
 epan/dissectors/packet-erf.c        |   2 +-
 epan/dissectors/packet-eth.c        |   2 +-
 epan/dissectors/packet-infiniband.c |   2 +-
 epan/dissectors/packet-ip.c         |   2 +-
 epan/dissectors/packet-ipv6.c       |   2 +-
 epan/dissectors/packet-opa-snc.c    |   2 +-
 epan/dissectors/packet-opa.c        |   2 +-
 wiretap/erf-common.h                |  41 +++++
 wiretap/erf.c                       |  12 +-
 wiretap/erf.h                       | 346 +-----------------------------------
 wiretap/{erf.h => erf_record.h}     |  46 +----
 wiretap/libpcap.c                   |   2 +-
 wiretap/pcap-common.c               |   2 +-
 13 files changed, 72 insertions(+), 391 deletions(-)
 create mode 100644 wiretap/erf-common.h
 copy wiretap/{erf.h => erf_record.h} (91%)