Wireshark mailing list archives
Re: I want to program in "packet-http.c:dissect_http" with some gtk gui functions
From: 刘昆 <liukunmeister () gmail com>
Date: Thu, 09 Dec 2010 18:56:52 +0800
于 2010年12月09日 12:03, Guy Harris 写道:
Oh ,I see.However if I want to pop up a window when http dissector dissect some payload,where can I write the gtk code ? Tap may be not suit me.On Dec 8, 2010, at 7:53 PM, 刘昆 wrote:I want to program in "packet-http.c:dissect_http" with some gtk gui functions .But when I "make" there are some errors : epan/.libs/libwireshark.so: undefined reference to `gtk_window_new' epan/.libs/libwireshark.so: undefined reference to `gtk_main' epan/.libs/libwireshark.so: undefined reference to `gtk_widget_show' epan/.libs/libwireshark.so: undefined reference to `gtk_init' So how shoud I do to solve the problem?You should solve the problem by not using GUI functions in packet-http.c. Wireshark does not support GUI functions in dissectors, and never will.Try to do whatever you're trying to do with a tap, instead. You *can* perform GUI operations in taps.___________________________________________________________________________ Sent via: Wireshark-dev mailing list<wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- I want to program in "packet-http.c:dissect_http" with some gtk gui functions 刘昆 (Dec 08)
- Re: I want to program in "packet-http.c:dissect_http" with some gtk gui functions Guy Harris (Dec 08)
- Re: I want to program in "packet-http.c:dissect_http" with some gtk gui functions 刘昆 (Dec 09)
- Re: I want to program in "packet-http.c:dissect_http" with some gtk gui functions Guy Harris (Dec 08)