wireshark/wsutil
João Valverde fe802272a2 Build with NetBSD's strptime()
Replace our strptime code, which is from gnulib,
with the simpler and better NetBSD implementation.

This changes the ws_strptime() stub to unconditionally use
the internal implementation. Previously it would use the
system implementation of available. This is still possible
but is opt-in, i.e., code should add the necessary #ifdefs
and assume responsability for handling non-portable formats
or providing limited functionality on some platforms.

Text import allows the user to specify the strptime()
format freely, so in that case it makes sense to use the
system's implementation, and pass the responsability
for understanding the implementation and the supported
specifiers to the user.

Only fall back to our implementation if the system libc
lacks a strptime().
2023-09-03 18:05:59 +01:00
..
wmem wmem: Fix leak in block_fast when realloc'ing jumbo blocks 2023-08-10 01:19:21 -04:00
.editorconfig Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
802_11-utils.c Add a script to convert GLib types to their C equivalents 2023-06-12 17:32:56 +00:00
802_11-utils.h Add a script to convert GLib types to their C equivalents 2023-06-12 17:32:56 +00:00
CMakeLists.txt Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
adler32.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
adler32.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
base32.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
base32.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
bits_count_ones.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
bits_ctz.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
bitswap.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
bitswap.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
buffer.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
buffer.h Correct function signatures for buffer functions 2023-02-07 19:52:37 +00:00
cfutils.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
cfutils.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
clopts_common.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
clopts_common.h Move ui/clopts_common.[ch] to wsutil 2023-02-10 20:59:22 +00:00
cmdarg_err.c Move ui/cmdarg_err.[ch] to wsutil 2023-02-10 20:59:22 +00:00
cmdarg_err.h Move ui/cmdarg_err.[ch] to wsutil 2023-02-10 20:59:22 +00:00
codecs.c codecs: Change interface, use SDP information for dynamic codecs 2023-07-09 21:16:28 +00:00
codecs.h codecs: Pass in fmtp, decode bandwidth efficient AMR 2023-07-14 17:58:19 -04:00
color.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
console_win32.c Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
console_win32.h Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
cpu_info.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
cpu_info.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
crash_info.c Add missing header, fix macOS build 2021-12-19 19:09:05 +00:00
crash_info.h Add missing header, fix macOS build 2021-12-19 19:09:05 +00:00
crc5.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc5.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc6.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc6.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc7.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc7.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc8.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc8.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc10.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc10.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc11.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc11.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc16-plain.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc16-plain.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc16.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc16.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc32.c Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
crc32.h Convert wsutil/crc*.[ch] to C99 types 2023-06-29 00:34:53 +00:00
curve25519.c Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
curve25519.h Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
dot11decrypt_wep.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
eax.c Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
eax.h Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
epochs.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
exported_pdu_tlvs.h exported_pdu_tlvs.h: restore a lost comment showing the buffer alignment 2023-08-22 13:39:17 +00:00
feature_list.c Windows: Fix build 2022-02-24 20:29:04 +00:00
feature_list.h wsutil: New API to gather compile/runtime info 2022-02-24 13:27:08 +00:00
file_util.c wsutil: Switch away from G_MODULE_SUFFIX and g_module_build_path 2023-04-11 22:54:27 +00:00
file_util.h wsutil: Switch away from G_MODULE_SUFFIX and g_module_build_path 2023-04-11 22:54:27 +00:00
filesystem.c Lua: Remove console.lua 2023-08-16 15:19:00 +00:00
filesystem.h Fix Personal Extcap folder path 2023-01-20 22:30:26 +00:00
filter_files.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
filter_files.h Move ui/filter_files.[ch] to wsutil 2023-02-10 20:59:22 +00:00
g711.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
g711.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
glib-compat.h glib: Bump required version to 2.50 2022-04-22 12:55:37 +00:00
inet_addr.c Fix build on case-sensitive filesystems 2023-05-24 02:49:28 +01:00
inet_addr.h wsutil/inet_addr: Refactor to use C99/POSIX types 2021-12-27 19:02:50 +00:00
inet_ipv4.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
inet_ipv6.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
interface.c Fix build on case-sensitive filesystems 2023-05-24 02:49:28 +01:00
interface.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
introspection.c wiretap: Add enum generation 2022-10-07 10:28:47 +01:00
introspection.h wiretap: Add enum generation 2022-10-07 10:28:47 +01:00
jsmn.c wsutil: split libjsmn. 2016-09-30 20:12:00 +00:00
jsmn.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
json_dumper.c wsutil: Fix JSON indentation when ending nested element 2023-08-27 01:07:21 +00:00
json_dumper.h json_dumper: rework the error checking to improve error messages. 2023-03-08 05:06:25 -08:00
mpeg-audio.c mpeg: handle the presence of an image in the ID3v2 header. 2022-03-10 07:38:14 +00:00
mpeg-audio.h mpeg: handle the presence of an image in the ID3v2 header. 2022-03-10 07:38:14 +00:00
nstime.c nstime: fix unix_epoch_to_nstime(). 2023-09-02 16:20:32 -07:00
nstime.h Add a set of time stamp precision values in wsutil/nstime.h and use them. 2023-08-16 22:57:51 +00:00
os_version_info.c Add more notes about getting distribution information on Linux. [skip ci] 2023-07-19 17:10:04 -07:00
os_version_info.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
path_config.h.in Add support for configuration path relocation on Unix 2023-01-26 18:43:20 +00:00
pint.h wsutil: Optimize unaligned pointer access for MSVC and icc 2023-06-11 17:59:58 +00:00
please_report_bug.c Update our issue tracker URL in some places. 2020-09-16 01:29:07 +00:00
please_report_bug.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
plugins.c Don't include errno.h if we don't use errno or errno value definitions. 2023-06-26 16:07:23 -07:00
plugins.h CMake: Cleanup unnecessary linking with shared libraries 2023-02-06 15:04:46 +00:00
pow2.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
privileges.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
privileges.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
processes.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
regex.c Convert capture file regex search to PCRE2. 2022-07-27 11:21:03 +00:00
regex.h Convert capture file regex search to PCRE2. 2022-07-27 11:21:03 +00:00
report_message.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
report_message.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
rsa.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
rsa.h Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
safe-math.h dfilter: Use safe-math.h with time ftypes 2023-06-27 18:31:28 +00:00
sign_ext.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
sober128.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sober128.h Add files with WS_DLL_PUBLIC to Doxygen part2 2021-11-30 06:47:35 +00:00
socket.c wsutil: Use snprintf() and ws_strdup_printf() 2021-12-19 12:23:14 +00:00
socket.h wsutil: Use snprintf() and ws_strdup_printf() 2021-12-19 12:23:14 +00:00
str_util.c wmem: Remove strbuf max size parameter 2022-12-03 01:54:52 +00:00
str_util.h IAX2: Fix UTF-8 string encoding 2022-11-18 11:32:13 +00:00
strnatcmp.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
strnatcmp.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
strtoi.c Replace g_assert() with ws_assert() in places 2021-06-06 20:05:26 +00:00
strtoi.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
tempfile.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
tempfile.h Extcap: Create our fifo in a temporary directory. 2022-12-12 18:34:21 +00:00
test_wsutil.c Move format_text() to libwsutil and add unit tests 2022-09-28 21:44:27 +00:00
time_util.c Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
time_util.h Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
to_str.c Add a set of time stamp precision values in wsutil/nstime.h and use them. 2023-08-16 22:57:51 +00:00
to_str.h Add a set of time stamp precision values in wsutil/nstime.h and use them. 2023-08-16 22:57:51 +00:00
type_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
type_util.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
unicode-utils.c Replace g_utf8_make_valid() with own function 2023-02-08 11:21:19 +00:00
unicode-utils.h Replace g_utf8_make_valid() with own function 2023-02-08 11:21:19 +00:00
utf8_entities.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
version_info.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
version_info.h Move ui/version_info.[ch] to wsutil 2023-02-07 23:17:37 +00:00
win32-utils.c Get rid of unnecessary casts. 2023-06-18 16:07:35 -07:00
win32-utils.h win32-utils: Explicitly list inherited handles 2022-08-16 20:53:22 +02:00
ws_assert.h CMake: Reverse debug macros 2023-01-12 00:59:15 +00:00
ws_cpuid.h cpuid: clean up, update. and expand some comments. 2022-06-01 00:42:47 -07:00
ws_getopt.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
ws_getopt.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ws_mempbrk.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
ws_mempbrk.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
ws_mempbrk_int.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
ws_mempbrk_sse42.c Fix many spelling errors 2020-10-11 08:35:55 +00:00
ws_pipe.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
ws_pipe.h wsutil: Remove flawed ws_pipe_close() function 2022-08-14 16:05:22 +00:00
ws_return.h wsutil: Downgrade severity of ws_returh.h macros 2023-04-16 17:14:58 +00:00
ws_roundup.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
ws_strptime.c Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
ws_strptime.h Build with NetBSD's strptime() 2023-09-03 18:05:59 +01:00
wsgcrypt.c libgcrypt: Require version 1.8.0 2022-04-20 21:30:21 -04:00
wsgcrypt.h Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
wsjson.c NGAP: fix dissection of multiple NGAP messages in the same HTTP2 packet 2021-06-21 13:33:55 +00:00
wsjson.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
wslog.c wslog: Refactor the API with a msg manifest 2023-09-03 02:35:25 +00:00
wslog.h wslog: Refactor the API with a msg manifest 2023-09-03 02:35:25 +00:00
xtea.c Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00
xtea.h Make wsutil headers include what they use and build standalone 2023-06-24 13:22:02 +00:00