Don't give tvbuffs names; instead, give data sources names, where a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 18 Feb 2002 01:08:44 +0000 (01:08 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 18 Feb 2002 01:08:44 +0000 (01:08 +0000)
commitbb3f0a432664e181ad2177d79fa9b26254cb6280
tree73281bb2d7e50e8527da2945d5627a31bae9e5c6
parent9a4e4616534196c2034337ef2a0c2e93d583d2f1
Don't give tvbuffs names; instead, give data sources names, where a
"data source" has a name and a top-level tvbuff, and frames can have a
list of data sources associated with them.

Use the tvbuff pointer to determine which data source is the data source
for a given field; this means we don't have to worry about multiple data
sources with the same name - the only thing the name does is label the
notebook tab for the display of the data source, and label the hex dump
of the data source in print/Tethereal output.

Clean up a bunch of things discovered in the process of doing the above.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4749 f5534014-38df-0310-8fa8-9805f1628bb7
26 files changed:
epan/epan.c
epan/frame_data.h
epan/packet.c
epan/packet.h
epan/proto.c
epan/proto.h
epan/tvbuff.c
epan/tvbuff.h
file.c
gtk/main.c
gtk/packet_win.c
gtk/proto_draw.c
gtk/proto_draw.h
packet-clnp.c
packet-giop.c
packet-icq.c
packet-ip.c
packet-ipv6.c
packet-smb-pipe.c
packet-smb.c
packet-tcp.c
packet-vj.c
packet-wcp.c
packet-wtp.c
print.c
tethereal.c