summaryrefslogtreecommitdiff
path: root/epan/column.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/column.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/column.h')
-rw-r--r--epan/column.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/epan/column.h b/epan/column.h
index 3e91154af7..eb0822cfb0 100644
--- a/epan/column.h
+++ b/epan/column.h
@@ -25,6 +25,8 @@
#ifndef __COLUMN_H__
#define __COLUMN_H__
+#include "ws_symbol_export.h"
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -38,26 +40,46 @@ typedef struct _fmt_data {
gboolean resolved; /* if TRUE, show a more human-readable name */
} fmt_data;
+WS_DLL_PUBLIC
const gchar *col_format_to_string(const gint);
+WS_DLL_PUBLIC
const gchar *col_format_desc(const gint);
+WS_DLL_PUBLIC
gint get_column_format(const gint);
+WS_DLL_PUBLIC
void set_column_format(const gint, const gint);
+WS_DLL_PUBLIC
void get_column_format_matches(gboolean *, const gint);
+WS_DLL_PUBLIC
gint get_column_format_from_str(const gchar *);
+WS_DLL_PUBLIC
gchar *get_column_title(const gint);
+WS_DLL_PUBLIC
void set_column_title(const gint, const gchar *);
+WS_DLL_PUBLIC
gboolean get_column_visible(const gint);
+WS_DLL_PUBLIC
void set_column_visible(const gint, gboolean);
+WS_DLL_PUBLIC
gboolean get_column_resolved(const gint);
+WS_DLL_PUBLIC
void set_column_resolved(const gint, gboolean);
+WS_DLL_PUBLIC
const gchar *get_column_custom_field(const gint);
+WS_DLL_PUBLIC
void set_column_custom_field(const gint, const char *);
+WS_DLL_PUBLIC
gint get_column_custom_occurrence(const gint);
+WS_DLL_PUBLIC
void set_column_custom_occurrence(const gint, const gint);
+WS_DLL_PUBLIC
const gchar *get_column_width_string(const gint, const gint);
+WS_DLL_PUBLIC
const char *get_column_longest_string(const gint);
+WS_DLL_PUBLIC
gint get_column_char_width(const gint format);
+WS_DLL_PUBLIC
void
build_column_format_array(column_info *cinfo, const gint num_cols, const gboolean reset_fences);