Wireshark-commits: [Wireshark-commits] master fb9a356: Add prefs_get_uint_value and prefs_get_range

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Nov 2016 16:49:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fb9a356e46c5adbc74e9d117463c0fb2b4778afe
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

fb9a356 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add prefs_get_uint_value and prefs_get_range_value
    
    This allows dissectors to not need to know about the internal preference structure.
    
    Change-Id: I1ae67248cd0b0132aefc225ea0a9befaf9afdde2
    Reviewed-on: https://code.wireshark.org/review/18864
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  ba67963   Improve name resolution preference tooltips.
    adds  fb9a356   Add prefs_get_uint_value and prefs_get_range_value


Summary of changes:
 debian/libwireshark0.symbols        |    2 ++
 epan/dissectors/packet-beep.c       |    4 +---
 epan/dissectors/packet-capwap.c     |    4 +---
 epan/dissectors/packet-gopher.c     |    5 ++---
 epan/dissectors/packet-hdfs.c       |    4 +---
 epan/dissectors/packet-http.c       |    5 ++---
 epan/dissectors/packet-iec104.c     |    4 +---
 epan/dissectors/packet-kafka.c      |    6 ++----
 epan/dissectors/packet-mbtcp.c      |   15 ++++-----------
 epan/dissectors/packet-openflow.c   |    4 +---
 epan/dissectors/packet-quake2.c     |    4 +---
 epan/dissectors/packet-quakeworld.c |    4 +---
 epan/dissectors/packet-rsync.c      |    4 +---
 epan/dissectors/packet-s5066dts.c   |    4 +---
 epan/dissectors/packet-tds.c        |    6 ++----
 epan/dissectors/packet-tftp.c       |    8 +++-----
 epan/dissectors/packet-uaudp.c      |    6 ++----
 epan/dissectors/packet-vnc.c        |    6 ++----
 epan/prefs.c                        |   16 ++++++++++++++++
 epan/prefs.h                        |   11 +++++++++++
 20 files changed, 57 insertions(+), 65 deletions(-)