Wireshark-commits: [Wireshark-commits] master ba34545: Add an API to get a list of compressed-file
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Nov 2018 03:11:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ba3454529302a64e11c498a2185f4b5ddc1ccf3a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ba34545 by Guy Harris (guy@xxxxxxxxxxxx):

    Add an API to get a list of compressed-file extensions, and use it.
    
    Move all the compressed-file type stuff to wiretap/file_wrappers.c.
    
    Rename wtap_compressed_file_extension() to
    wtap_compression_type_extension() for consistency with the other
    compression-type-extension routine names.
    
    Move the declarations of the compression-type-extension routines in the
    header file.
    
    wtap_compression_type_extension() now returns NULL for
    WTAP_UNCOMPRESSED; there's no need to special-case it.
    
    Get rid of the now-unused wtap_compression_type_supported() and
    WTAP_NUM_COMPRESSION_TYPES.
    
    Change-Id: Ib93874079bea669a0c87104513dba0d21390455a
    Reviewed-on: https://code.wireshark.org/review/30729
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  2f17546   Fix a comment to reflect reality.
     add  ba34545   Add an API to get a list of compressed-file extensions, and use it.


Summary of changes:
 ui/qt/main_window.cpp   |   8 +--
 wiretap/file_access.c   | 146 +++++++++++++++++++++++++-----------------------
 wiretap/file_wrappers.c |  59 +++++++++++++++++++
 wiretap/wtap.c          |  61 --------------------
 wiretap/wtap.h          |  20 +++----
 5 files changed, 148 insertions(+), 146 deletions(-)