aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-07-02 20:08:49 +0000
committerMichael Mann <mmann78@netscape.net>2013-07-02 20:08:49 +0000
commit7ae263b9e458e5eee23ea38d415210ac0c0b8b1f (patch)
treef2d81aaf336e22bfd70476a181dd0eae1fdd2ec0 /epan/expert.h
parente16933f4961aa8905444f80876355f6b3a2cf46f (diff)
Differentiate "Disabled" from "Unknown" and provide macros for the enumerated values.
svn path=/trunk/; revision=50323
Diffstat (limited to 'epan/expert.h')
-rw-r--r--epan/expert.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/expert.h b/epan/expert.h
index fe218195d1..6db956e876 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -229,6 +229,11 @@ expert_register_field_array(expert_module_t* module, ei_register_info *ei, const
WS_DLL_PUBLIC void
expert_add_undecoded_item(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length, const int severity);
+#define EXPERT_CHECKSUM_DISABLED -2
+#define EXPERT_CHECKSUM_UNKNOWN -1
+#define EXPERT_CHECKSUM_GOOD 0
+#define EXPERT_CHECKSUM_BAD 1
+
WS_DLL_PUBLIC const value_string expert_checksum_vals[];
#ifdef __cplusplus