Replace the ETT_ "enum" members, declared in "packet.h", with
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 16 Nov 1999 11:44:20 +0000 (11:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 16 Nov 1999 11:44:20 +0000 (11:44 +0000)
commite4c62806db219ae013652ae479827fb38a0a9635
treebcc3d6ea4d23e60c7841a408e9b1876ed6a93106
parent8f0f1f9ae49aca3671a8c4c3aa81858684a4f05c
Replace the ETT_ "enum" members, declared in "packet.h", with
dynamically-assigned "ett_" integer values, assigned by
"proto_register_subtree_array()"; this:

obviates the need to update "packet.h" whenever you add a new
subtree type - you only have to add a call to
"proto_register_subtree_array()" to a "register" routine and an
array of pointers to "ett_", if they're not already there, and
add a pointer to the new "ett_" variable to the array, if they
are there;

would allow run-time-loaded dissectors to allocate subtree types
when they're loaded.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1043 f5534014-38df-0310-8fa8-9805f1628bb7
88 files changed:
gtk/proto_draw.c
packet-aarp.c
packet-afs.c
packet-arp.c
packet-ascend.c
packet-atalk.c
packet-atm.c
packet-bgp.c
packet-bootp.c
packet-bootparams.c
packet-bpdu.c
packet-cdp.c
packet-clip.c
packet-dns.c
packet-eth.c
packet-fddi.c
packet-ftp.c
packet-giop.c
packet-gre.c
packet-http.c
packet-icmpv6.c
packet-icp.c
packet-icq.c
packet-imap.c
packet-ip.c
packet-ip.h
packet-ipp.c
packet-ipsec.c
packet-ipv6.c
packet-ipx.c
packet-isakmp.c
packet-lapb.c
packet-lapd.c
packet-llc.c
packet-lpd.c
packet-mapi.c
packet-mount.c
packet-nbipx.c
packet-nbns.c
packet-ncp.c
packet-netbios.c
packet-nfs.c
packet-nlm.c
packet-nntp.c
packet-ntp.c
packet-null.c
packet-osi.c
packet-ospf.c
packet-pim.c
packet-pop.c
packet-portmap.c
packet-ppp.c
packet-pppoe.c
packet-pptp.c
packet-q931.c
packet-radius.c
packet-raw.c
packet-rip.c
packet-ripng.c
packet-rpc.c
packet-rpc.h
packet-rsvp.c
packet-rtsp.c
packet-rx.c
packet-sdp.c
packet-smb.c
packet-sna.c
packet-snmp.c
packet-stat.c
packet-tcp.c
packet-telnet.c
packet-tftp.c
packet-tr.c
packet-trmac.c
packet-udp.c
packet-vines.c
packet-vlan.c
packet-x25.c
packet-yhoo.c
packet-ypbind.c
packet-ypserv.c
packet-ypxfr.c
packet.c
packet.h
proto.c
proto.h
xdlc.c
xdlc.h