wireshark/wsutil
Guy Harris fe42762f23 Move some more stuff into wsutil.
Move the routines to parse numerical command-line arguments there.

Make cmdarg_err() and cmdarg_err_cont() routines in wsutil that just
call routines specified by a call to cmdarg_err_init(), and have
programs supply the appropriate routines to it.

Change-Id: Ic24fc758c0e647f4ff49eb91673529bcb9587b01
Reviewed-on: https://code.wireshark.org/review/2704
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-29 23:03:24 +00:00
..
nghttp2 Make this comple whether assertions are enabled or not. 2014-06-01 21:55:37 +00:00
CMakeLists.txt Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
Makefile.am Move get_os_version_info() to libwsutil. 2014-06-21 18:02:32 +00:00
Makefile.common Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
Makefile.nmake Add sse4.2 optimized function ws_mempbrk_sse42() 2014-06-09 12:02:27 +00:00
adler32.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
adler32.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
aes.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
aes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
airpdcap_wep.c Continue to remove $Id$ from top of file 2014-03-31 15:59:51 +00:00
base64.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
base64.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bits_count_ones.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bits_ctz.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bitswap.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bitswap.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
cfutils.c Clean up inclusion of cfutils.h. 2014-06-21 19:54:40 +00:00
cfutils.h Don't declare CFString_to_C_string() if we don't have OS X frameworks. 2014-06-22 01:11:29 +00:00
clopts_common.c Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
clopts_common.h Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
cmdarg_err.c Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
cmdarg_err.h Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
compiler_info.c Add a get_compiler_info() routine in libwsutil to get compiler information. 2014-06-21 19:35:06 +00:00
compiler_info.h Add a get_compiler_info() routine in libwsutil to get compiler information. 2014-06-21 19:35:06 +00:00
copyright_info.c Move get_copyright_info() to wsutil. 2014-06-21 17:33:05 +00:00
copyright_info.h Move get_copyright_info() to wsutil. 2014-06-21 17:33:05 +00:00
cpu_info.c Get rid of trailing blank lines. 2014-06-21 20:22:13 +00:00
cpu_info.h Move the routine to get a CPU information string to wsutil. 2014-06-21 20:21:03 +00:00
crash_info.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crash_info.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc6.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc6.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc7.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc7.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc8.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc8.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc10.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc10.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc11.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc11.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16-plain.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16-plain.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc32.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc32.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crcdrm.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crcdrm.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
des.c Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
des.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
eax.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
eax.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
file_util.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
file_util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filesystem.c More Python-bindings removal. 2014-06-16 23:14:05 +00:00
filesystem.h More Python-bindings removal. 2014-06-16 23:14:05 +00:00
g711.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
g711.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
inet_aton.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
inet_aton.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
inet_ntop.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
inet_pton.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
inet_v6defs.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
md4.c Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
md4.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
md5.c Explicitly declare/cast 'unsigned <variable>' as 'unsigned int <variable>' 2014-06-16 22:03:12 +00:00
md5.h Continue to remove $Id$ from top of file 2014-03-31 18:49:26 +00:00
mem_info.c Move the routine to get memory information to wsutil. 2014-06-21 20:31:53 +00:00
mem_info.h Move the routine to get memory information to wsutil. 2014-06-21 20:31:53 +00:00
mpeg-audio.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
mpeg-audio.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
nstime.c Fix some whitespace issues. 2014-05-23 23:44:57 +00:00
nstime.h More handling of missing time stamps. 2014-05-23 23:41:21 +00:00
os_version_info.c Move get_os_major_version() to wsutil and rename it to get_windows_major_version(). 2014-06-21 21:33:11 +00:00
os_version_info.h Move get_os_major_version() to wsutil and rename it to get_windows_major_version(). 2014-06-21 21:33:11 +00:00
pint.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
plugins.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
plugins.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
privileges.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
privileges.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rc4.c Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
rc4.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
report_err.c Continue to remove $Id$ from top of file 2014-03-31 18:30:52 +00:00
report_err.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sha1.c Continue to remove $Id$ from top of file 2014-03-31 15:59:51 +00:00
sha1.h Continue to remove $Id$ from top of file 2014-03-31 15:59:51 +00:00
sign_ext.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sober128.c Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2014-06-26 02:41:48 +00:00
sober128.h Add casting and license info to fix buildbots 2014-06-19 23:55:47 +00:00
str_util.c isprint() -> g_ascii_isprint() 2014-05-13 16:14:07 +00:00
str_util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
strnatcmp.c (Pedantic): set editor modelines tab-width & etc to 8; Also: fix some indentation in packet-sip.c 2014-04-03 15:31:56 +00:00
strnatcmp.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
strncasecmp.c Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
strptime.c Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
strptime.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tempfile.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tempfile.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_util.c Move mktime_utc() from tvbuff.c to wsutil/time_util.c 2014-04-25 04:13:02 +00:00
time_util.h Move mktime_utc() from tvbuff.c to wsutil/time_util.c 2014-04-25 04:13:02 +00:00
type_util.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
type_util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
u3.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
u3.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
unicode-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
unicode-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ws_cpuid.h Fix Buildbot Mac OS: /wsutil/ws_cpuid.h:56: warning: unused parameter 'CPUInfo' 2014-06-10 09:00:41 +00:00
ws_mempbrk.c Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS) 2014-06-10 14:51:26 +00:00
ws_mempbrk.h Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS) 2014-06-10 14:51:26 +00:00
ws_mempbrk_sse42.c Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS) 2014-06-10 14:51:26 +00:00
ws_version_info.c Add a routine to return a version string including VCS information. 2014-06-22 01:06:25 +00:00
ws_version_info.h Add a routine to return a version string including VCS information. 2014-06-22 01:06:25 +00:00
wsgcrypt.h Fixed typo HAVE_LIBGRYPT -> HAVE_LIBGCRYPT 2014-04-17 22:01:22 +00:00
wsgetopt.c make getopt_long() available on systems that don't have it natively 2013-07-16 20:15:02 +00:00
wsgetopt.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
wsgetopt_int.h Fix another dozen or so files with bad FSF addresses as caught by licensecheck. 2013-04-16 00:00:09 +00:00