Wireshark-dev: [Wireshark-dev] wireshark

From: "Martin Corraine (mcorrain)" <mcorrain@xxxxxxxxx>
Date: Wed, 18 Jun 2008 08:56:36 -0400
Hello,
 
I need someone to clarify the purpose of the field registration. I've read the readme.developer but I'm still lost.
 
Thanks!,
martin
 
 
static hf_register_info hf[] = {
 
  { &hf_field_a,
  { "Field A", "proto.field_a", FT_UINT8, BASE_HEX, NULL,
   0xf0, "Field A represents Apples", HFILL }},
 
  { &hf_field_b,
  { "Field B", "proto.field_b", FT_UINT16, BASE_DEC, VALS(vs),
   0x0, "Field B represents Bananas", HFILL }}
 };