Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 8b977a4: Move condition logic to dumpcap.c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 01 Nov 2018 05:09:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8b977a43d68d8fd9c2c7e7b8ccc0711df13c64ee
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

8b977a4 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Move condition logic to dumpcap.c
    
    Move the condition logic from capture_stop_conditions.c to dumpcap.c.
    Remove capture_stop_conditions.[ch] and conditions.[ch].
    
    Switch duration values to doubles.
    
    Change-Id: Ifa74fb13ec8fc923b0721597a6cf071d72069ea0
    Reviewed-on: https://code.wireshark.org/review/30440
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  01784a5   Bluetooth LDAC codec dissection support
     add  8b977a4   Move condition logic to dumpcap.c


Summary of changes:
 CMakeLists.txt             |   2 -
 capchild/capture_sync.c    |   4 +-
 capture_opts.c             |  12 +-
 capture_opts.h             |   6 +-
 capture_stop_conditions.c  | 303 ---------------------------------------------
 capture_stop_conditions.h  |  29 -----
 conditions.c               | 220 --------------------------------
 conditions.h               | 133 --------------------
 doc/README.capture         |   4 -
 doc/dumpcap.pod            |   5 +-
 doc/tshark.pod             |   5 +-
 doc/wireshark.pod.template |   5 +-
 dumpcap.c                  | 119 ++++++++----------
 rawshark.c                 |   2 -
 wsutil/clopts_common.c     |  17 +++
 wsutil/clopts_common.h     |   3 +
 16 files changed, 92 insertions(+), 777 deletions(-)
 delete mode 100644 capture_stop_conditions.c
 delete mode 100644 capture_stop_conditions.h
 delete mode 100644 conditions.c
 delete mode 100644 conditions.h