aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-03-02 01:00:20 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-03-02 01:00:20 +0000
commit1b1716638af9025b1e469d262ddba98a54bcaa4c (patch)
tree62f84b76655ecbd45b35c27173ccd9ce83112976 /epan/expert.h
parent27320f87cbd232dbbfc19455a3d8ec2322104507 (diff)
Move expert_group_vals expert_severity_vals constant definitions to expert.h
svn path=/trunk/; revision=47995
Diffstat (limited to 'epan/expert.h')
-rw-r--r--epan/expert.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/epan/expert.h b/epan/expert.h
index b01f407188..835fc0049d 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -46,8 +46,30 @@ typedef struct expert_info_s {
proto_item *pitem;
} expert_info_t;
-WS_DLL_PUBLIC const value_string expert_severity_vals[];
-WS_DLL_PUBLIC const value_string expert_group_vals[];
+static const value_string expert_group_vals[] = {
+ { PI_CHECKSUM, "Checksum" },
+ { PI_SEQUENCE, "Sequence" },
+ { PI_RESPONSE_CODE, "Response" },
+ { PI_REQUEST_CODE, "Request" },
+ { PI_UNDECODED, "Undecoded" },
+ { PI_REASSEMBLE, "Reassemble" },
+ { PI_MALFORMED, "Malformed" },
+ { PI_DEBUG, "Debug" },
+ { PI_PROTOCOL, "Protocol" },
+ { PI_SECURITY, "Security" },
+ { PI_COMMENTS_GROUP, "Comment" },
+ { 0, NULL }
+};
+
+static const value_string expert_severity_vals[] = {
+ { PI_ERROR, "Error" },
+ { PI_WARN, "Warn" },
+ { PI_NOTE, "Note" },
+ { PI_CHAT, "Chat" },
+ { PI_COMMENT, "Comment" },
+ { 0, "Ok" },
+ { 0, NULL }
+};
/* "proto_expert" is exported from libwireshark.dll.
* Thus we need a special declaration.