Wireshark-commits: [Wireshark-commits] master c68d36b: wiretap: have the file's time stamp resoluti

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 29 Jul 2020 13:49:23 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c68d36b173b3bafd007e2d14461dfb0f194e0bde
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

c68d36b by Guy Harris (gharris@xxxxxxxxx):

    wiretap: have the file's time stamp resolution be a dump parameter.
    
    Add a tsprec value to the wtap_dump_params structure, giving the
    per-file time stamp precision.
    
    In wtap_dump_init_dumper(), when constructing a dummy IDB for files that
    don't have one, fill in the tsprecision and time_units_per_second values
    based on the tsprec value in the wtap_dump_params structure.
    
    Change-Id: I3708b144d4d0ac0dfbe32bd1c16768a75c942141
    Reviewed-on: https://code.wireshark.org/review/37979
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  f8efccc   wiretap: generate fake IDBs for more capture file types.
     add  c68d36b   wiretap: have the file's time stamp resolution be a dump parameter.


Summary of changes:
 ui/qt/import_text_dialog.cpp |  1 +
 wiretap/file_access.c        | 32 +++++++++++++++++++++++++++++++-
 wiretap/wtap.c               |  1 +
 wiretap/wtap.h               |  1 +
 4 files changed, 34 insertions(+), 1 deletion(-)