Ethereal-dev: Re: [Ethereal-dev] how to print error messages in dissector

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 1 Jun 2006 22:58:02 +0200 (CEST)
Hi,

There are two ways to do that:
1. use ptoto_tree_add_text to add a line of text to the packet details
2. use expert info functions to emit a note/warn/error which can be seen
from the relevant menu option.

case 1 is directly visible for the user, but only when selecting the
specific package

case 2 gives a more accessable overview, but has to be called up from the
menu, so is unavailable for tethereal


Thanx,
Jaap

On Fri, 2 Jun 2006, Raman Singla wrote:

> Hi all,
> I want display error message in dissector to users if certain
> conditions are not met. Kindly let me know how to print messages.
>
> Raman
> Ext - 1667

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev