diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-11-19 15:52:30 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-20 05:03:26 +0000 |
commit | fb9c6905eff10f6f49a433ead8bd78e232fa068d (patch) | |
tree | 31154d39f805ba9527ad93a58f7dc7212799eef7 /debian | |
parent | e2a5ad1febd5352563407ad13057ef82f7756d43 (diff) |
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@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/libwsutil0.symbols | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/libwsutil0.symbols b/debian/libwsutil0.symbols index 7e88cfeac7..e5b9e771bc 100644 --- a/debian/libwsutil0.symbols +++ b/debian/libwsutil0.symbols @@ -100,6 +100,9 @@ libwsutil.so.0 libwsutil0 #MINVER# isdigit_string@Base 1.10.0 isprint_string@Base 1.10.0 isprint_utf8_string@Base 2.6.1 + json_decode_string_inplace@Base 2.9.0 + json_parse@Base 2.9.0 + json_validate@Base 2.9.0 linear2alaw@Base 1.12.0~rc1 linear2ulaw@Base 1.12.0~rc1 local_interfaces_to_list@Base 2.1.2 @@ -201,6 +204,3 @@ libwsutil.so.0 libwsutil0 #MINVER# ws_utf8_char_len@Base 1.12.0~rc1 ws_vadd_crash_info@Base 2.5.2 ws_xton@Base 1.12.0~rc1 - wsjson_parse@Base 2.9.0 - wsjson_unescape_json_string@Base 2.9.0 - wsjson_is_valid_json@Base 2.9.0 |