Ask Your Question

Revision history [back]

I want to call methods from proto.c in my dissector. What library or dll do I need to link to. I am using Windows platform.

I am trying to make a call to proto_tree_add_format_wsp_text. This method is implemented in proto.c in the epan folder. I can include the header file for it and it will compile, but it will not link because my project does not know where the object code is. When I build Wireshark, I assume that files like proto.c are compiled into a library or dll. I think I should be able to link to that. But what is the file I need to link to and where is it?

click to hide/show revision 2
None

I want to call methods from proto.c in my dissector. What library or dll do I need to link to. I am using Windows platform.

I am trying to make a call to proto_tree_add_format_wsp_text. This method is implemented in proto.c in the epan folder. I can include the header file for it and it will compile, but it will not link because my project does not know where the object code is. When I build Wireshark, I assume that files like proto.c are compiled into a library or dll. I think I should be able to link to that. But what is the file I need to link to and where is it?

click to hide/show revision 3
None

How can I want to call methods from proto.c proto_tree_add_format_wsp_text() in my dissector. What library or dll do I need to link to. I am using Windows platform.dissector

I am trying to make a call to proto_tree_add_format_wsp_text. This method is implemented in proto.c in the epan folder. I can include the header file for it and it will compile, but it will not link because my project does not know where the object code is. When I build Wireshark, I assume that files like proto.c are compiled into a library or dll. I think I should be able to link to that. But what is the file I need to link to and where is it?