Wireshark-dev: Re: [Wireshark-dev] pass some value to customized plugin
From: Fabiano Ricci <fabiano.ricci@xxxxxxxxxxx>
Date: Wed, 24 Jul 2013 09:49:14 +0200
I made a mistake in my last message. The third argument of the enum is obviously an int value (the same of the global_bit_order). You should use a define. So the enum is: #define LITTLE 0 #define BIG 1 const enum_val_t enum_gtp_market_data_feed[] = { { "Little Endian", "Decode as Little Endian", LITTLE }, { "Big Endian", "Decode as Big Endian", BIG}, { NULL, NULL, 0 } }; Regards Fabiano Fabiano
Ricci
|
- Follow-Ups:
- Re: [Wireshark-dev] pass some value to customized plugin
- From: Christopher Maynard
- Re: [Wireshark-dev] pass some value to customized plugin
- From: Evan Huus
- Re: [Wireshark-dev] pass some value to customized plugin
- References:
- [Wireshark-dev] pass some value to customized plugin
- From: Hardik Patel
- Re: [Wireshark-dev] pass some value to customized plugin
- From: Fabiano Ricci
- [Wireshark-dev] pass some value to customized plugin
- Prev by Date: Re: [Wireshark-dev] pass some value to customized plugin
- Next by Date: Re: [Wireshark-dev] Cmake on Win32/64
- Previous by thread: Re: [Wireshark-dev] pass some value to customized plugin
- Next by thread: Re: [Wireshark-dev] pass some value to customized plugin
- Index(es):