Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-socks.c packet-rtsp.c packet-quake.c
guy 2000/08/21 13:36:39 CDT
Modified files:
. packet-socks.c packet-rtsp.c
packet-quake.c packet-msproxy.c
conversation.c conversation.h
Log:
Change from Andreas Sikkema to change the "old" and "new" members of the
"dissector" union in the "conversation_t" structure to "old_d" and
"new_d", to avoid using a C++ reserved word.
Add "old_conversation_set_dissector()" and
"conversation_set_dissector()" routines to set the dissector for a
conversation, to hide the details of how that's done (e.g., details such
as whether there's a union at all - eventually, when all dissectors have
been tvbuffified, there won't be a need for the union - and what the
names of the union members are, and so on). Convert all dissectors to
use those routines (they had to be changed anyway, due to the name
change).
Revision Changes Path
1.11 +2 -3 ethereal/packet-socks.c
1.17 +3 -5 ethereal/packet-rtsp.c
1.5 +2 -3 ethereal/packet-quake.c
1.11 +2 -3 ethereal/packet-msproxy.c
1.10 +27 -8 ethereal/conversation.c
1.7 +7 -3 ethereal/conversation.h