diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-09-25 01:09:00 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-09-25 01:09:00 +0000 |
commit | 6462d05044d74e475253518912c0635222bd7fc2 (patch) | |
tree | 32834c107cb9baab32f865999d3d69d877452e71 /epan/epan.c | |
parent | 299469d48d57337e6381f2d5363ece52c9a36d37 (diff) | |
download | wireshark-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.c | 8 |
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 |