aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorLars Roland <Lars.Roland@gmx.net>2004-12-11 00:13:27 +0000
committerLars Roland <Lars.Roland@gmx.net>2004-12-11 00:13:27 +0000
commitea67e4cfabfdd0d24a11f9ed2a45ce2a29f84252 (patch)
tree45087c252d6eff691e1dca6085326949968fa02f /epan
parent8de59f7fa76bceb856fed6e53e78eb054791c32c (diff)
Add functions to the old and the new plugin api for the MATE Plugin.
svn path=/trunk/; revision=12715
Diffstat (limited to 'epan')
-rw-r--r--epan/filesystem.h2
-rw-r--r--epan/ftypes/ftypes.h6
-rw-r--r--epan/libethereal.def4
3 files changed, 7 insertions, 5 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
index 85834d342e..4f013f66bd 100644
--- a/epan/filesystem.h
+++ b/epan/filesystem.h
@@ -74,7 +74,7 @@ int test_for_fifo(const char *);
* Get the directory in which global configuration and data files are
* stored.
*/
-const char *get_datafile_dir(void);
+extern const char *get_datafile_dir(void);
/*
* Construct the path name of a global configuration file, given the
diff --git a/epan/ftypes/ftypes.h b/epan/ftypes/ftypes.h
index 20dc120da6..e328af5aac 100644
--- a/epan/ftypes/ftypes.h
+++ b/epan/ftypes/ftypes.h
@@ -281,7 +281,7 @@ fvalue_string_repr_len(fvalue_t *fv, ftrepr_t rtype);
* returned. If 'buf' was NULL, this points to the newly-allocated
* memory. if 'buf' was non-NULL, then the return value will be
* 'buf'. */
-char *
+extern char *
fvalue_to_string_repr(fvalue_t *fv, ftrepr_t rtype, char *buf);
const char*
@@ -302,13 +302,13 @@ fvalue_set_floating(fvalue_t *fv, gdouble value);
gpointer
fvalue_get(fvalue_t *fv);
-guint32
+extern guint32
fvalue_get_integer(fvalue_t *fv);
guint64
fvalue_get_integer64(fvalue_t *fv);
-double
+extern double
fvalue_get_floating(fvalue_t *fv);
gboolean
diff --git a/epan/libethereal.def b/epan/libethereal.def
index badcb9f82d..16f4a0d186 100644
--- a/epan/libethereal.def
+++ b/epan/libethereal.def
@@ -221,7 +221,9 @@ ftype_pretty_name
fvalue_t_free_list DATA
fvalue_from_unparsed
fvalue_get
+fvalue_get_floating
fvalue_get_integer
+fvalue_to_string_repr
GatekeeperRejectReason_vals DATA
get_basename
get_ber_identifier
@@ -524,4 +526,4 @@ vals_status DATA
val_to_str
value_is_in_range
write_prefs
-xml_escape
+xml_escape \ No newline at end of file