diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-23 17:52:18 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-23 17:52:18 +0000 |
commit | 3a5c9ec3b26b489438a31575c34a674d8e101fab (patch) | |
tree | d3488b143471421bc4d9f3a1e6b05ea19e9a435c /epan/wslua/init_wslua.h | |
parent | c65f2d42f898d37c4585ba4ba9f855d0b44e65eb (diff) |
Load lua scripts in the plugins directory, both global and personal.
List loaded lua scripts in Help->About->Plugins.
svn path=/trunk/; revision=30675
Diffstat (limited to 'epan/wslua/init_wslua.h')
-rw-r--r-- | epan/wslua/init_wslua.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/epan/wslua/init_wslua.h b/epan/wslua/init_wslua.h new file mode 100644 index 0000000000..d77becfd78 --- /dev/null +++ b/epan/wslua/init_wslua.h @@ -0,0 +1,38 @@ +/* init_wslua.h + * definitions for wslua plugins structures + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __INIT_WSLUA_H__ +#define __INIT_WSLUA_H__ + +#include <glib.h> + +typedef struct _wslua_plugin { + gchar *name; /* plugin name */ + gchar *version; /* plugin version */ + struct _wslua_plugin *next; +} wslua_plugin; + +WS_VAR_IMPORT wslua_plugin *wslua_plugin_list; + +#endif /* __INIT_WSLUA_H__ */ |