summaryrefslogtreecommitdiff
path: root/epan/eap.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
commit1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch)
treed6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /epan/eap.h
parent0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff)
downloadwireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.gz
Export libwireshark symbols using WS_DLL_PUBLIC define
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
Diffstat (limited to 'epan/eap.h')
-rw-r--r--epan/eap.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/epan/eap.h b/epan/eap.h
index 0ce8f651f5..1854335d44 100644
--- a/epan/eap.h
+++ b/epan/eap.h
@@ -26,6 +26,8 @@
#ifndef __EAP_H__
#define __EAP_H__
+#include "ws_symbol_export.h"
+
/* http://www.iana.org/assignments/eap-numbers */
#define EAP_REQUEST 1
#define EAP_RESPONSE 2
@@ -34,7 +36,7 @@
#define EAP_INITIATE 5 /* [RFC5296] */
#define EAP_FINISH 6 /* [RFC5296] */
-WS_VAR_IMPORT const value_string eap_code_vals[];
+WS_DLL_PUBLIC const value_string eap_code_vals[];
#define EAP_TYPE_ID 1
#define EAP_TYPE_NOTIFY 2
@@ -51,7 +53,7 @@ WS_VAR_IMPORT const value_string eap_code_vals[];
#define EAP_TYPE_AKA_PRIME 50
#define EAP_TYPE_EXT 254
-WS_VAR_IMPORT value_string_ext eap_type_vals_ext;
+WS_DLL_PUBLIC value_string_ext eap_type_vals_ext;
#define SIM_START 10
#define SIM_CHALLENGE 11
@@ -59,7 +61,7 @@ WS_VAR_IMPORT value_string_ext eap_type_vals_ext;
#define SIM_RE_AUTHENTICATION 13
#define SIM_CLIENT_ERROR 14
-WS_VAR_IMPORT const value_string eap_sim_subtype_vals[];
+WS_DLL_PUBLIC const value_string eap_sim_subtype_vals[];
#define AKA_CHALLENGE 1
#define AKA_AUTHENTICATION_REJECT 2
@@ -69,7 +71,7 @@ WS_VAR_IMPORT const value_string eap_sim_subtype_vals[];
#define AKA_REAUTHENTICATION 13
#define AKA_CLIENT_ERROR 14
-WS_VAR_IMPORT const value_string eap_aka_subtype_vals[];
+WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
#define MS_CHAP_V2_CHALLENGE 1
#define MS_CHAP_V2_RESPONSE 2
@@ -77,6 +79,6 @@ WS_VAR_IMPORT const value_string eap_aka_subtype_vals[];
#define MS_CHAP_V2_FAILURE 4
#define MS_CHAP_V2_CHANGE_PASSWORD 7
-WS_VAR_IMPORT const value_string eap_ms_chap_v2_opcode_vals[];
+WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];
#endif