Wireshark-commits: [Wireshark-commits] master fb9c690: wsutil: rename some wsjson functions

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

Commits:

fb9c690 by Peter Wu (peter@xxxxxxxxxxxxx):

    wsutil: rename some wsjson functions
    
    Rename wsjson_unescape_json_string to json_decode_string_inplace
    (inspired by the g_base64_decode_inplace name). Rename
    wsjson_is_valid_json to json_validate (inspired by g_unichar_validate).
    
    Ideally json_parse is inlined with its user (sharkd_session.c), but that
    requires exporting the jsmn_init and jsmn_parse functions... Hence the
    dependency on jsmn.h remains in wsjson.h.
    
    Change-Id: I7ecfe3565f15516e9115cbd7e025362df2da5416
    Reviewed-on: https://code.wireshark.org/review/30731
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e2a5ad1   wsutil: fix indentation/modelines in wsjson
     add  fb9c690   wsutil: rename some wsjson functions


Summary of changes:
 debian/libwsutil0.symbols     |  6 +++---
 epan/dissectors/packet-json.c |  2 +-
 sharkd_session.c              | 12 +++---------
 wiretap/json.c                |  2 +-
 wsutil/wsjson.c               | 13 +++++++++----
 wsutil/wsjson.h               | 11 ++++++-----
 6 files changed, 23 insertions(+), 23 deletions(-)