aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2006-06-13 08:18:50 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2006-06-13 08:18:50 +0000
commita557a61ae01b399e6afebaf4c6505628d4d7750b (patch)
tree000700108ae8f198cad0b7cbe7bb26cda8e5e1cc /epan/epan.c
parentf3c5f96124d4f062fef9a5ba21022b808c4def05 (diff)
new function epan_get_version()
svn path=/trunk/; revision=18450
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 68fd7477e4..5fe361a40a 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -29,6 +29,11 @@ static void (*report_failure_func)(const char *, va_list);
static void (*report_open_failure_func)(const char *, int, gboolean);
static void (*report_read_failure_func)(const char *, int);
+gchar*
+epan_get_version(void) {
+ return VERSION;
+}
+
/*
* XXX - this takes the plugin directory as an argument, because
* libwireshark now has its own configure script and "config.h" file,