Ethereal-dev: Re: [Ethereal-dev] allowing (sub-)dissector to know preferences of anotherdisse

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 9 Jul 2001 15:20:19 -0700 (PDT)
> Actually, I just figured someone would come hunt me down for putting a
> non-static variable in a dissector and referencing it from another
> dissector.  ;)

There are other cases of that:

	{hostname}$ egrep extern packet-*.h | egrep -v '\(' | more
	packet-chdlc.h:extern const value_string chdlc_vals[];
	packet-frame.h:extern int proto_malformed;
	packet-ip.h:extern dissector_table_t ip_dissector_table;
	packet-ncp-int.h:extern int proto_ncp;
	packet-rpc.h:extern const value_string rpc_auth_flavor[];
	packet-tcp.h:extern guint16   tcp_urgent_pointer;
	packet-wap.h:extern const value_string vals_character_sets[];
	packet-wccp.h:extern const value_string service_id_vals[];