aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
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.h
parent1f88687d3f72859d9e46f8b859c5c532fa5aa777 (diff)
Move expert value_string body to expert.c (from expert.h)
svn path=/trunk/; revision=54354
Diffstat (limited to 'epan/expert.h')
-rw-r--r--epan/expert.h29
1 files changed, 4 insertions, 25 deletions
diff --git a/epan/expert.h b/epan/expert.h
index c4776eced7..91216d844a 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -79,31 +79,6 @@ typedef struct ei_register_info {
typedef struct expert_module expert_module_t;
-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 }
-};
-
#define PRE_ALLOC_EXPERT_FIELDS_MEM 5000
/* "proto_expert" is exported from libwireshark.dll.
@@ -220,6 +195,10 @@ expert_register_field_array(expert_module_t* module, ei_register_info *ei, const
#define EXPERT_CHECKSUM_GOOD 0
#define EXPERT_CHECKSUM_BAD 1
+WS_DLL_PUBLIC const value_string expert_group_vals[];
+
+WS_DLL_PUBLIC const value_string expert_severity_vals[];
+
WS_DLL_PUBLIC const value_string expert_checksum_vals[];
#ifdef __cplusplus