Hi all, due to some problems I've had with compiling a plugin I stumbled upon Thanks. Mike asked 14 Apr '16, 01:05 mikethebo edited 14 Apr '16, 01:06 |
One Answer:
It makes sure that, if a Wireshark source file includes both This is a VERY common technique in C header files; you'll probably find at least one header file for the OS or compiler you're using that has a "header guard" of that type.
It works, if you do that in the right place (a definition of a named packet field) and if you've included either answered 14 Apr '16, 01:54 Guy Harris ♦♦ |
Although as noted elsewhere, on Windows, there appear to be issues including pre-defined tfs values from libwireshark in a plugin.
From
proto.h
The declarations in tfs.h are just handy, pre-canned true_false strings, which, on Windows, can't unfortunately be use in plugins. You can just define those strings yourself (as in tfs.c) if you need any of them.