diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-03-04 01:40:51 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2017-03-08 23:04:12 +0000 |
commit | 540b5557291ad0960ce566adc3f24100aac946de (patch) | |
tree | 6c5aac3a5e7cce9c17f12980a6d22c0007375f15 /debian | |
parent | 2b06c17592e792224779355c2e47d776ba2f9af6 (diff) | |
download | wireshark-540b5557291ad0960ce566adc3f24100aac946de.tar.gz wireshark-540b5557291ad0960ce566adc3f24100aac946de.tar.bz2 wireshark-540b5557291ad0960ce566adc3f24100aac946de.zip |
Introduce "bytes_string" type, similar to "value_string"
In order to map arbitrary byte buffers to strings, introduce a new
"bytes_string" type. Since "bytes_to_str" is already used for other
purposes, name the generic function "bytesval_to_str" instead similar to
the name( "val_to_str").
Accept "size_t" as length parameter since this is what is returned by
the "sizeof" operator. Do not add a "try_bytesval_to_str_idx" variant
since this pattern is not needed for now. Add a variant to match the
prefix since this is currently expected by the ISAKMP dissector.
Change-Id: I6d790325e85d9fb1384330f28a8c36e2057fdf30
Reviewed-on: https://code.wireshark.org/review/20386
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/libwireshark0.symbols | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/libwireshark0.symbols b/debian/libwireshark0.symbols index ed43473c56..b9525096e4 100644 --- a/debian/libwireshark0.symbols +++ b/debian/libwireshark0.symbols @@ -76,6 +76,8 @@ libwireshark.so.0 libwireshark0 #MINVER# byte_array_equal@Base 1.9.1 bytes_to_hexstr@Base 2.1.0 bytes_to_str@Base 1.99.2 + bytesprefix_to_str@Base 2.3.0 + bytesval_to_str@Base 2.3.0 bytestring_to_str@Base 1.9.1 call_ber_oid_callback@Base 1.9.1 call_capture_dissector@Base 2.3.0 @@ -1507,6 +1509,8 @@ libwireshark.so.0 libwireshark0 #MINVER# tree_expanded@Base 1.12.0~rc1 tree_expanded_set@Base 1.12.0~rc1 try_capture_dissector@Base 2.1.0 + try_bytesprefix_to_str@Base 2.3.0 + try_bytesval_to_str@Base 2.3.0 try_rval_to_str@Base 1.9.1 try_rval_to_str_idx@Base 1.9.1 try_rval64_to_str@Base 2.3.0 |