As a follow-up... I explored building the graph_analysis modules
directly into my plugin. However, aside from references to some internal
GUI functions (which I can easily replace), clicking on one of the flows
in the dialog selects that frame in the capture... which requires access
to cfile...
I can make this work. However, the graph_analysis_*() functions are not
accessible under Windows (at least from a plugin) as they are not
exported from the wireshark executable - so I think I'm back to the same
problem.
Unless, of course, there is yet another hook that I've managed to
overloo
I missed that. I'll check it out. It seems (from a cursory look at the
code) that the retap happens upon selecting the menu item. Currently I
have a dialog that allows selection of all packets, or those currently
displayed. But splitting that into 2 menu items shouldn't be a problem.
Thanks -
On Wed, Sep 19, 2012 at 2:22 PM, David Ameiss wrote:
> For us, the critical item is cfile, to allow re-tapping captures.
That sounds like the job of retap_packets [1]. Does that not work for you?
[1]
http://anonsvn.wireshark.org/viewvc/trunk/epan/funnel.h?revision=45009&view=markup#l77
And we currently use it (as noted below) to add menu items. For us, the
critical item is cfile, to allow re-tapping captures.
I suppose the email subject was misleading. Yes, more GUI functionality
would be wonderful. But cfile is really the issue for us (at least for now).
On 09/19/2012 02:1
Actually, funnel.h implements some GUI functionality that can be used
by plugins.
More functionality can be added to it.
On Wed, Sep 19, 2012 at 9:34 AM, David Ameiss wrote:
> Summary: I'd like to propose implementing a method of making GUI
> functionality more accessible from plugins.
>
> We ha