aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-09-25 01:09:00 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-09-25 01:09:00 +0000
commit6462d05044d74e475253518912c0635222bd7fc2 (patch)
tree32834c107cb9baab32f865999d3d69d877452e71 /epan/epan.c
parent299469d48d57337e6381f2d5363ece52c9a36d37 (diff)
downloadwireshark-6462d05044d74e475253518912c0635222bd7fc2.tar.gz
wireshark-6462d05044d74e475253518912c0635222bd7fc2.tar.bz2
wireshark-6462d05044d74e475253518912c0635222bd7fc2.zip
Move the Lua interface into epan... (not a plugin anymore).
- Rename Tap into Listener - add a mechanism to pass protocols' tap data to the Listener svn path=/trunk/; revision=19319
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 05e274e85b..fe68db2378 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -38,6 +38,10 @@
#include "emem.h"
#include "expert.h"
+#ifdef HAVE_LUA_5_1
+#include <epan/wslua/wslua.h>
+#endif
+
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);
@@ -93,6 +97,10 @@ epan_init(const char *plugin_dir, void (*register_all_protocols)(void),
final_registration_all_protocols();
host_name_lookup_init();
expert_init();
+#ifdef HAVE_LUA_5_1
+ wslua_init(NULL);
+#endif
+
}
void