Hi,
If you look in epan/prefs.h you can see that the second argument is a callback
function
prefs_register_protocol(int id, void (*apply_cb)(void));
In packet-sip.c
sip_module = prefs_register_protocol(proto_sip, proto_reg_handoff_sip);
So proto_reg_handoff_sip is called every time the
Hi Pascal,
I wondered if that would be the case but it doesn’t seem to be set when I enter
the handoff code. My handoff looks like this:
proto_reg_handoff_tmsvc(void)
{
dissector_handle_t dissect_tmsvc_handle;
HANDLE h_thread;
if (tmsvc_port > 0) {
Hi,
Frankly I feel a bit stupid asking this but I've been trying to figure it out
for about 6 hours and I think I need help. I have a dissector which I register
like this:
static int tmsvc_port = 0;
void
proto_register_tmsvc(void)
{
module_t *tmsvc_module;
proto_tmsvc =
2015-11-12 15:07 GMT+01:00 Paul Offord :
> Hi,
>
>
>
> Frankly I feel a bit stupid asking this but I've been trying to figure it
> out for about 6 hours and I think I need help. I have a dissector which I
> register like this:
>
>
>
> static int tmsvc_port = 0;
>
>
>
>
On 11/12/15 10:51 AM, Bill Meier wrote:
> On 11/12/2015 1:13 PM, Bill Meier wrote:
>> How do I disable building QT Wireshark when using CMake ?
>>
>> Thanks
>>
>> Bill
>
>
> Answering my own question:
>
> cmake -DBUILD_wireshark=OFF ...
You can also edit the corresponding BUILD_wireshark line
Hi Pascal,
You are right – it got called twice without the preference value being set and
then the third time it was. Thanks to you both for your help, it’s saved me a
lot of time.
Best regards…Paul
From: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] On
2015-11-12 15:48 GMT+01:00 Paul Offord :
> Hi Pascal,
>
>
>
> I wondered if that would be the case but it doesn’t seem to be set when I
> enter the handoff code. My handoff looks like this:
>
>
>
> proto_reg_handoff_tmsvc(void)
>
> {
>
>
Thanks Anders,
That seems to be the answer. I modified the code to this:
static int proto_tmsvc = -1;
HANDLE h_thread = NULL; /* This is the handle to the service thread */
static int tmsvc_port = 0;
void
proto_register_tmsvc(void)
{
module_t *tmsvc_module;
proto_tmsvc =
How do I disable building QT Wireshark when using CMake ?
Thanks
Bill
___
Sent via:Wireshark-dev mailing list
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe:
On 11/12/2015 1:13 PM, Bill Meier wrote:
How do I disable building QT Wireshark when using CMake ?
Thanks
Bill
Answering my own question:
cmake -DBUILD_wireshark=OFF ...
___
Sent via:Wireshark-dev mailing list
Try cmake -DBUILD_wireshark=0 (case is significant). These options are defined
in CMakeOptions.txt which you can also find via invocation of cmake-gui.
Kind regards,
Peter
https://lekensteyn.nl
(pardon my brevity, top-posting and formatting, sent from my phone)
On 12 November 2015 19:13:07
11 matches
Mail list logo