aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-15 20:54:27 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-15 20:54:27 +0000
commitbca73b61d1748c86b1d3bc01530fb54eb5087318 (patch)
treed58555578d7e62583decf9a4fcbf4ea00a8cc785 /doc
parent517647fc31ff8496de8a6bfe176431d957d8bbce (diff)
Rename FIELDBASE to FIELDDISPLAY, as it's a "how to display this"
indication, not necessarily a base (the base is "how to display" some numeric fields, but it's not how to display some other fields). Note that FIELDDISPLAY is the number of bits in the field containing an FT_BOOLEAN bitfield. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32480 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 2a44c88d67..5913a9ea66 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -931,7 +931,7 @@ proto_register_PROTOABBREV(void)
static hf_register_info hf[] = {
{ &hf_PROTOABBREV_FIELDABBREV,
{ "FIELDNAME", "PROTOABBREV.FIELDABBREV",
- FIELDTYPE, FIELDBASE, FIELDCONVERT, BITMASK,
+ FIELDTYPE, FIELDDISPLAY, FIELDCONVERT, BITMASK,
"FIELDDESCR", HFILL }
}
};
@@ -1085,7 +1085,7 @@ FIELDTYPE FT_NONE, FT_BOOLEAN, FT_UINT8, FT_UINT16, FT_UINT24,
FT_RELATIVE_TIME, FT_STRING, FT_STRINGZ, FT_EBCDIC,
FT_UINT_STRING, FT_ETHER, FT_BYTES, FT_UINT_BYTES, FT_IPv4,
FT_IPv6, FT_IPXNET, FT_FRAMENUM, FT_PROTOCOL, FT_GUID, FT_OID
-FIELDBASE For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
+FIELDDISPLAY For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
BASE_DEC, BASE_HEX, BASE_OCT, BASE_DEC_HEX, BASE_HEX_DEC,
or BASE_CUSTOM, possibly ORed with BASE_RANGE_STRING
@@ -1095,6 +1095,11 @@ FIELDBASE For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
ABSOLUTE_TIME_LOCAL, ABSOLUTE_TIME_UTC, or
ABSOLUTE_TIME_DOY_UTC
+ For FT_BOOLEAN if BITMASK is non-zero:
+
+ Number of bits in the field containing the FT_BOOLEAN
+ bitfield
+
For all other types:
BASE_NONE