aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-22 10:52:29 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-22 10:52:29 +0000
commit51ea411db779d3a6715726e9c49263aca179d618 (patch)
treeed79a825557e8baa3f3cdf17b23757e2f3d07dc5 /epan/expert.c
parent1f88687d3f72859d9e46f8b859c5c532fa5aa777 (diff)
Move expert value_string body to expert.c (from expert.h)
svn path=/trunk/; revision=54354
Diffstat (limited to 'epan/expert.c')
-rw-r--r--epan/expert.c26
1 files changed, 25 insertions, 1 deletions
diff --git a/epan/expert.c b/epan/expert.c
index e416545053..bca9de9785 100644
--- a/epan/expert.c
+++ b/epan/expert.c
@@ -35,7 +35,6 @@
#include "wmem/wmem.h"
#include "tap.h"
-
/* proto_expert cannot be static because it's referenced in the
* print routines
*/
@@ -67,6 +66,31 @@ typedef struct _gpa_expertinfo_t {
} gpa_expertinfo_t;
static gpa_expertinfo_t gpa_expertinfo;
+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 }
+};
+
+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 }
+};
+
/* Possible values for a checksum evaluation */
const value_string expert_checksum_vals[] = {
{ EXPERT_CHECKSUM_DISABLED, "Disabled" },