aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-04-26 16:33:20 -0700
committerGuy Harris <gharris@sonic.net>2020-04-27 01:53:09 +0000
commit524baee94fd8fab0ce4ba212ef35f39e81a386c0 (patch)
treeb024d4b5d739ad69a84c6fd6f9ac8d951263ad08 /epan/proto.h
parent94556ca7a2502f820e2884550b153d06997b9384 (diff)
Add string encoding values for various BCD encodings, and use them.
Add some ENC_ values for various flavors of packed BCD, and use that instead of explicitly calling tvb_bcd_dig_to_wmem_packet_str() and adding the result. Change-Id: I07511d9d09c9231b610c121cd6ffb3b16fb017a9 Reviewed-on: https://code.wireshark.org/review/36952 Reviewed-by: Guy Harris <gharris@sonic.net>
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 9ce18b11c2..fd6d5c8f1f 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -491,6 +491,9 @@ void proto_report_dissector_bug(const char *format, ...)
#define ENC_CP855 0x0000003E
#define ENC_CP866 0x00000040
#define ENC_ISO_646_BASIC 0x00000042
+#define ENC_BCD_DIGITS_0_9 0x00000044 /* Packed BCD, digits 0-9 */
+#define ENC_KEYPAD_ABC_TBCD 0x00000046 /* Keypad-with-a/b/c "telephony BCD" = 0-9, *, #, a, b, c */
+#define ENC_KEYPAD_BC_TBCD 0x00000048 /* Keypad-with-B/C "telephony BCD" = 0-9, B, C, *, # */
/*
* TODO:
*