On Mon, Mar 31, 2008 at 07:32:22AM +0000, Praveen Kumar Jha wrote:
> I am using proto_reg_handoff_xxx() function as call-back for the
> preferences.
> e.g.
> xxx_module = prefs_register_protocol(proto_xxx, proto_reg_handoff_xxx);
> 
> & registering a preference of uint type with xxx_module (say for example,
> port number).
> 
> In the function proto_reg_handoff_xxx(), i would like to have some check on
> the user entered uint value i.e. the port number,
> and depending on its value I would like to popup an error message in GUI.
> 
> hope that the situation is clear!

Yes, the sutuation is clear: You haven't looked into REAMDE.developer on
how to go about preferences for dissectors.

 Ciao
    Joerg
-- 
Joerg Mayer                                           <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to