Ethereal-dev: [ethereal-dev] C++ problem with conversations

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

Date: Mon, 21 Aug 2000 15:46:23 +0200
Hi,

typedef struct conversation {
	struct conversation *next;	/* pointer to next conversation on hash chain */
	guint32	index;	/* unique ID for conversation */
	void	*data;	/* data our client can associate with a conversation */
	gboolean is_old_dissector;	/* XXX - nuke when everybody tvbuffified */
	union {
		old_dissector_t	old;
		dissector_t	new;
	} dissector; 			/* protocol dissector client can associate with conversation */
} conversation_t;

"new" is a C++ keyword...

Possible solution, rename new and old into new_d and old_d?

-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"Standing barefoot in a river of clues, most people would 
         not get their toes wet." - Brian Kantor in a.s.r.