Ethereal-dev: [Ethereal-dev] error in printing error message using simple_dialog

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

From: "Raman Singla" <ramans@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jun 2006 04:07:37 +0530
Hi,

I want to use simple_dialog function defined in "gtk/simple_dialog.c" for
printing error messages.

simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, dec_err_msg);

it is giving an linking error.
epan/./libs/libethereal.so: undefined reference to 'simple_dialog'

kindly help me out

thanks
raman




----- Original Message ----- 
From: "Jaap Keuter" <jaap.keuter@xxxxxxxxx>
To: "Ethereal development" <ethereal-dev@xxxxxxxxxxxx>
Sent: 2006 Jun 02 2:28 AM
Subject: Re: [Ethereal-dev] how to print error messages in dissector


> 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

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