aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-09-06 19:01:47 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-12-29 14:20:02 +0000
commit22d561c4367b8c7ee034ff367a29174245de1068 (patch)
tree6118973709fa83b4b3d622a12d3b1a17ae61ce24 /epan/proto.h
parent399d29695b97d7affa7b04acc177d9c4bf884999 (diff)
Add support for IEEE-11073 FLOATs
Add support for IEEE-11073 32-bit FLOAT and 16 bit SFLOAT field types. Use them in Bluetooth ATT dissector. Change-Id: Ife0f3843da84a9af23483b0a0d9b69cd2f511d08 Reviewed-on: https://code.wireshark.org/review/12680 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Michal Labedzki <michal.labedzki@tieto.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 8a3dd4968e..eb45d5259b 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -510,6 +510,9 @@ typedef enum {
BASE_HEX_DEC = 5, /**< hexadecimal (decimal) */
BASE_CUSTOM = 6, /**< call custom routine (in ->strings) to format */
+/* Float types */
+ BASE_FLOAT = BASE_NONE, /**< decimal-format float */
+
/* String types */
STR_ASCII = BASE_NONE, /**< shows non-printable ASCII characters as C-style escapes */
/* XXX, support for format_text_wsp() ? */