wireshark/epan
Guy Harris ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
..
dfilter The "new" routine for STTYPE_STRING and STTYPE_UNPARSED does a 2005-03-24 05:27:03 +00:00
dissectors Get rid of the private "my_match_strval()" routine in many dissectors; 2005-06-26 19:56:52 +00:00
ftypes replace another g_assert by DISSECTOR_ASSERT, so Ethereal won't crash if a dissector triggers that assert 2005-03-22 21:39:37 +00:00
AUTHORS Update my email address in various places since my old one no longer works 2003-01-26 19:35:31 +00:00
ChangeLog
Makefile.am Make the "maintainer-clean" rules get rid of some additional generated 2005-02-14 20:33:57 +00:00
Makefile.common Get stats_tree compiled 2005-02-25 04:02:00 +00:00
Makefile.nmake BACAPP updates 2005-04-26 08:03:22 +00:00
NEWS
README Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
addr_and_mask.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
addr_and_mask.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
addr_resolv.c add get_manuf_name_if_known (returns NULL if unknown) in addition to get_manuf_name 2005-05-20 21:44:17 +00:00
addr_resolv.h add get_manuf_name_if_known (returns NULL if unknown) in addition to get_manuf_name 2005-05-20 21:44:17 +00:00
address.h From Mike Duigou: 2005-06-20 20:14:57 +00:00
adler32.c The first argument to "adler32_bytes()" is only passed on to 2004-12-30 23:56:12 +00:00
adler32.h The first argument to "adler32_bytes()" is only passed on to 2004-12-30 23:56:12 +00:00
afn.c Move various tables into the epan directory. 2004-09-29 00:52:45 +00:00
afn.h Move various tables into the epan directory. 2004-09-29 00:52:45 +00:00
arptypes.h From Yaniv Kaul: add Ethernet address-to-name (or, at least, address-to- 2004-12-26 22:26:02 +00:00
asn1.c Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
asn1.h Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
atalk-utils.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
atalk-utils.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
base64.c Move the base-64 routines to "epan/base64.c". 2004-09-10 23:16:00 +00:00
base64.h Move the base-64 routines to "epan/base64.c". 2004-09-10 23:16:00 +00:00
bitswap.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
bitswap.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
charsets.c Move the stuff to handle ASCII <-> EBCDIC conversions to 2004-09-10 22:59:37 +00:00
charsets.h Move the stuff to handle ASCII <-> EBCDIC conversions to 2004-09-10 22:59:37 +00:00
circuit.c Fix a comment. 2005-02-03 01:24:07 +00:00
circuit.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
column-utils.c From Mark C Brown NETTL updates 2005-04-01 10:17:05 +00:00
column-utils.h Make the "col_data" field in a "column_info" structure a pointer to an 2004-12-30 23:57:29 +00:00
column.c Fix an off-by-one error found by Steve Grubb. Steve gets the award 2005-05-30 20:48:12 +00:00
column.h Move the column preferences stuff to epan (the rest of the preferences 2004-09-29 02:54:22 +00:00
column_info.h From Mark C Brown NETTL updates 2005-04-01 10:17:05 +00:00
conversation.c from Kashyap Desai 2005-06-25 22:15:51 +00:00
conversation.h Check in the missing part of Jon Ringle's patch (the part that actually 2005-02-03 01:08:39 +00:00
crc16.c Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
crc16.h Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
crc32.c Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
crc32.h Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
crypt-des.c Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
crypt-des.h Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
crypt-md4.c Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
crypt-md4.h Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
crypt-md5.c add helper to compute the md5 hmac 2005-03-09 07:29:52 +00:00
crypt-md5.h add helper to compute the md5 hmac 2005-03-09 07:29:52 +00:00
crypt-rc4.c Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
crypt-rc4.h Move the DES, MD4, MD5, and RC4 source files and headers into epan, and 2004-09-27 23:29:22 +00:00
doxygen.cfg.in fix doxygen generation 2004-10-27 04:03:31 +00:00
epan.c Move the tap infrastructure to the epan directory. 2004-09-29 00:06:36 +00:00
epan.h "report_err.h" declares "report_failure()", so it doesn't need to be 2005-03-06 19:37:09 +00:00
epan_dissect.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
except.c Remove some unneeded backslashes. 2004-12-29 16:25:06 +00:00
except.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
exceptions.h from Micheal Duigou: add some doxygen tags and some changes to README.developer 2005-03-11 21:14:38 +00:00
filesystem.c another try to fix the unix build 2005-04-12 23:48:47 +00:00
filesystem.h add functions file_exists and file_identical to filesystem.c (coming from file.c) 2005-04-12 21:12:19 +00:00
follow.c Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
follow.h Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
frame_data.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
frame_data.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
g_ascii_strtoull.c Some UN*Xes don't have any "strtou*" routine to convert a string to a 2004-09-03 18:14:00 +00:00
g_ascii_strtoull.h Some UN*Xes don't have any "strtou*" routine to convert a string to a 2004-09-03 18:14:00 +00:00
gdebug.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
h225-persistentdata.c Move h225-persistentdata.[ch] to epan, 2005-02-08 19:36:20 +00:00
h225-persistentdata.h Move h225-persistentdata.[ch] to epan, 2005-02-08 19:36:20 +00:00
in_cksum.c Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
in_cksum.h Move various checksum routines and headers to epan. 2004-09-28 00:06:32 +00:00
inet_aton.c Removed trailing whitespaces from .h and .c files using the 2002-08-28 20:41:00 +00:00
inet_aton.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
inet_ntop.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
inet_pton.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
inet_v6defs.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
ipproto.c Move various tables into the epan directory. 2004-09-29 00:52:45 +00:00
ipproto.h Move various tables into the epan directory. 2004-09-29 00:52:45 +00:00
ipv4.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
ipv4.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
ipv6-utils.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
libethereal.def Get rid of the private "my_match_strval()" routine in many dissectors; 2005-06-26 19:56:52 +00:00
nstime.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
osi-utils.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
osi-utils.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
packet.c Some applications do very naughty things like reusing a port for a different protocol during different stages of an application cycle. 2005-05-11 10:40:53 +00:00
packet.h Warning fix: Declare some more strings const 2005-06-19 15:16:30 +00:00
packet_info.h From Mike Duigou: 2005-06-03 06:35:44 +00:00
pint.h Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit 2004-08-22 00:31:58 +00:00
plugins.c Remove support for the old plugin api. 2005-03-16 23:07:08 +00:00
plugins.h Call the "new-style init" routine for plugins a "register" routine, as 2005-03-07 02:44:41 +00:00
prefs-int.h Remove the fixed maximum number of subranges in a range_t; dynamically 2004-10-16 23:32:24 +00:00
prefs.c prefs.c(1218) : warning C4761: integral size mismatch in argument; conversion supplied 2005-06-26 11:32:02 +00:00
prefs.h Constify a bunch of structure members and function arguments, to squelch 2005-06-24 01:32:42 +00:00
proto.c proto.c(2941) : warning C4090: 'function' : different 'const' qualifiers 2005-06-26 11:29:04 +00:00
proto.h More constification. 2005-06-24 02:51:01 +00:00
ptvcursor.c Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
ptvcursor.h Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
range.c Have "range_convert_range()" dynamically allocate a string large enough 2004-10-17 01:31:36 +00:00
range.h From Jeff Morriss: SSCOP over UDP and SSCF-NNI support. 2004-11-24 02:59:49 +00:00
reassemble.c add a generated toplevel line between the connectionless DCE/RPC protocol and the defragmented DCE/RPC content, to better understand what's going on if defragmentation is done. 2005-06-02 20:55:58 +00:00
reassemble.h add a generated toplevel line between the connectionless DCE/RPC protocol and the defragmented DCE/RPC content, to better understand what's going on if defragmentation is done. 2005-06-02 20:55:58 +00:00
report_err.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
req_resp_hdrs.c There's no guaranteee that "req_resp_hdrs_do_reassembly()" gets called 2005-01-20 04:37:03 +00:00
req_resp_hdrs.h from Micheal Duigou: some more doxygen tags 2005-03-12 09:59:28 +00:00
sha1.c Move the SHA-1 code and header into epan, and give them RCS IDs. 2004-09-28 23:20:14 +00:00
sha1.h Move the SHA-1 code and header into epan, and give them RCS IDs. 2004-09-28 23:20:14 +00:00
sigcomp-udvm.c From Paul Ollis: 2005-06-16 21:15:12 +00:00
sigcomp-udvm.h From Paul Ollis: 2005-06-16 21:15:12 +00:00
sigcomp_state_hdlr.c From Paul Ollis: 2005-06-16 21:15:12 +00:00
sigcomp_state_hdlr.h From Paul Ollis: 2005-06-16 21:15:12 +00:00
slab.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
sminmpec.c Add some more vendors 2005-06-16 22:06:12 +00:00
sminmpec.h Add some more vendors 2005-06-16 22:06:12 +00:00
sna-utils.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
sna-utils.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
stats_tree.c dup the filter string so that it can be freed without problems. 2005-05-20 19:40:10 +00:00
stats_tree.h Fix the names that were not consistent after the rename. 2005-03-21 17:51:07 +00:00
stats_tree_priv.h Fix the names that were not consistent after the rename. 2005-03-21 17:51:07 +00:00
strutil.c Change number of bytes displayed in bytes_to_string to 48 to facilitate display of sha1 digest of 20 bytes. 2004-11-28 19:35:21 +00:00
strutil.h fix doxygen tags 2004-10-27 04:45:00 +00:00
t35.c Add Sony and Nokia VendorID:s 2005-05-19 20:33:59 +00:00
t35.h Move various tables into the epan directory. 2004-09-29 00:52:45 +00:00
tap.c from Lars R 2005-04-01 20:55:33 +00:00
tap.h Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" as 2005-04-01 09:08:27 +00:00
timestamp.c Make a bunch of source files non-executable. 2004-09-01 07:07:23 +00:00
timestamp.h Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
to_str.c Fix an off-by-four error, which should take care of bugs 254 - 258. Print 2005-06-22 15:37:46 +00:00
to_str.h "oid_to_str()" and "oid_to_str_buf()" don't modify what the "oid" 2005-05-05 09:40:24 +00:00
tvbtest.c Set the svn:eol-style property on all text files to "native", so that 2004-07-18 00:24:25 +00:00
tvbuff.c Use tvb_ensure_bytes_exist() in tvb_get_string() instead of throwing an 2005-04-28 18:07:40 +00:00
tvbuff.h Doxygen cleanups, from Mike Duigou. 2005-01-07 12:00:01 +00:00
value_string.c Get rid of the private "my_match_strval()" routine in many dissectors; 2005-06-26 19:56:52 +00:00
value_string.h Get rid of the private "my_match_strval()" routine in many dissectors; 2005-06-26 19:56:52 +00:00
xdlc.c Get rid of the private "my_match_strval()" routine in many dissectors; 2005-06-26 19:56:52 +00:00
xdlc.h Move the xDLC helper routines into epan. 2004-09-28 23:48:02 +00:00
xmlstub.c Move the following files from /trunk to /trunk/epan: 2005-02-09 23:38:00 +00:00
xmlstub.h fix a typo: lenght -> length 2005-02-20 22:36:34 +00:00

README

$Id$

XXX - put something here