summaryrefslogtreecommitdiff
path: root/epan/guid-utils.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/guid-utils.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/guid-utils.h')
-rw-r--r--epan/guid-utils.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/epan/guid-utils.h b/epan/guid-utils.h
index 94938365ce..87df9d919c 100644
--- a/epan/guid-utils.h
+++ b/epan/guid-utils.h
@@ -26,6 +26,8 @@
#ifndef __GUID_UTILS_H__
#define __GUID_UTILS_H__
+#include "ws_symbol_export.h"
+
#define GUID_LEN 16
/* Note: this might be larger than GUID_LEN, so don't overlay data in packets
@@ -38,17 +40,17 @@ typedef struct _e_guid_t {
} e_guid_t;
-extern void guids_init(void);
+WS_DLL_PUBLIC void guids_init(void);
/* add a GUID */
-extern void guids_add_guid(e_guid_t *guid, const gchar *name);
+WS_DLL_PUBLIC void guids_add_guid(e_guid_t *guid, const gchar *name);
/* try to get registered name for this GUID */
-extern const gchar *guids_get_guid_name(e_guid_t *guid);
+WS_DLL_PUBLIC const gchar *guids_get_guid_name(e_guid_t *guid);
/* resolve GUID to name (or if unknown to hex string) */
/* (if you need hex string only, use guid_to_str instead) */
-extern const gchar* guids_resolve_guid_to_str(e_guid_t *guid);
+WS_DLL_PUBLIC const gchar* guids_resolve_guid_to_str(e_guid_t *guid);
/* add a UUID (dcerpc_init_uuid() will call this too) */
#define guids_add_uuid(uuid, name) guids_add_guid((e_guid_t *) (uuid), (name))