diff options
author | David Perry <boolean263@protonmail.com> | 2021-01-08 09:18:39 +0000 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2021-01-08 09:18:39 +0000 |
commit | b758fdaede7960db9f86786b91c7b23e80210e6f (patch) | |
tree | 5e5d61dc5da72185a540f0abe4efdbf9224c57f6 /debian/libwsutil0.symbols | |
parent | 73cef353bf4bf6ed5b59af2089112e0144fd9b94 (diff) |
Add iso8601_to_nstime() for editcap and nettrace
This adds a function to parse a string date-time in ISO 8601 format into
a `nstime_t` structure. It's based on code from epan/tvbuff.c and
wiretap/nettrace_3gpp_32_423.c and meant to eventually replace both.
(Currently only replaces the latter.)
Since most of Wireshark expects ISO 8601 date-times to fit a fairly
strict pattern, iso8601_to_nstime() currently rejects date-times without
separators between the components, even though ISO 8601 actually permits
this. This could be revisited later.
Also uses iso8601_to_nstime in editcap to parse the -A/-B options,
thus allowing the user to specify a time zone if desired. (See #17110)
Diffstat (limited to 'debian/libwsutil0.symbols')
-rw-r--r-- | debian/libwsutil0.symbols | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/libwsutil0.symbols b/debian/libwsutil0.symbols index f180cfb8a4..2aa4359818 100644 --- a/debian/libwsutil0.symbols +++ b/debian/libwsutil0.symbols @@ -104,6 +104,7 @@ libwsutil.so.0 libwsutil0 #MINVER# init_report_message@Base 2.3.0 is_default_profile@Base 1.12.0~rc1 isdigit_string@Base 1.10.0 + iso8601_to_nstime@Base 3.5.0 isprint_string@Base 1.10.0 isprint_utf8_string@Base 2.6.1 json_decode_string_inplace@Base 2.9.0 @@ -181,6 +182,7 @@ libwsutil.so.0 libwsutil0 #MINVER# started_with_special_privs@Base 1.10.0 test_for_directory@Base 1.12.0~rc1 test_for_fifo@Base 1.12.0~rc1 + tm_is_valid@Base 3.5.0 type_util_gdouble_to_guint64@Base 1.10.0 type_util_guint64_to_gdouble@Base 1.10.0 ulaw2linear@Base 1.12.0~rc1 |