Re: [Wireshark-dev] header field arrays

2009-06-19 Thread Jonathan Walker (c)
009 6:24 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] header field arrays On Jun 18, 2009, at 3:11 PM, Jonathan Walker (c) wrote: > It wasn't giving the specific error, which is why it was so hard to > debug. What non-specific error did it give? Did

Re: [Wireshark-dev] header field arrays

2009-06-18 Thread Guy Harris
On Jun 18, 2009, at 3:11 PM, Jonathan Walker (c) wrote: > It wasn't giving the specific error, which is why it was so hard to > debug. What non-specific error did it give? Did it crash? If so, could you get a stack trace? > It's not causing me problems anymore though. I made the array in

Re: [Wireshark-dev] header field arrays

2009-06-18 Thread Jonathan Walker (c)
ark Subject: Re: [Wireshark-dev] header field arrays On Jun 18, 2009, at 1:43 PM, Jonathan Walker (c) wrote: >When creating and registering a new header field array in a plug- > in, does the size of the array have to be exactly the same as the > number of used fields? No. This i

Re: [Wireshark-dev] header field arrays

2009-06-18 Thread Guy Harris
On Jun 18, 2009, at 1:43 PM, Jonathan Walker (c) wrote: >When creating and registering a new header field array in a plug- > in, does the size of the array have to be exactly the same as the > number of used fields? No. This is C, not PL/I :-), so if you pass an array (which really mea

[Wireshark-dev] header field arrays

2009-06-18 Thread Jonathan Walker (c)
Hello all, When creating and registering a new header field array in a plug-in, does the size of the array have to be exactly the same as the number of used fields? For example, I created a hf array as follows: static hf_register_info hf[MAX_FIELDS]; I plan to fill up a certain variab