aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.h
AgeCommit message (Collapse)AuthorFilesLines
2000-03-31Add a counter : "enabled_plugins_number", to record how many plugins areOlivier Abad1-1/+2
enabled. The counter is incremented in enable_plugin() and decremented in disable_plugin(). In add_packet_to_packet_list(), we check this counter (instead of plugin_list) to see if there is at least one enabled plugin. If this is the case, we must build the protocol tree. svn path=/trunk/; revision=1770
2000-01-15Merge in the final code to make Ethereal run on Win32, compiledGilbert Ramirez1-3/+23
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC. It compiles, links, and runs. It doesn't run correctly. There's a problem when reading files. I'm getting short reads. I'm not linking in zlib or libsnmp because it first needs to be debugged. I changed the plugin code to use gmodule instead of libltdl, but the Unix build still links ethereal against libltdl. I'll fix that tonight; sorry about leaving it in such a sad state, but I wanted to check in this code before I left work on a Friday night. Ethereal still works, but the building is less than optimal. svn path=/trunk/; revision=1479
2000-01-04Implement plugins status save/restore :Olivier Abad1-1/+3
Add a "Save status" button to the Plugins window which saves the status (enabled/disabled) and the filter used by all the plugins in ~/.ethereal/plugins.status Moved plugins_scan_dir() from gtk/plugins_dlg.c to plugins.c because it is GUI independent. Read plugins.status in this function and restore the saved status. Add a init_plugins() function in plugins.c which calls plugins_scan_dir() in order to build the plugin_list. It is called by ethereal_proto_init() in gtk/main.c svn path=/trunk/; revision=1417
1999-12-26Integrate libtool/libltdl with the plugin code. Add libtool and libltdlGerald Combs1-10/+12
to the distribution. svn path=/trunk/; revision=1379
1999-12-09Put in an RCS ID.Olivier Abad1-1/+3
svn path=/trunk/; revision=1267
1999-12-09plugins support (i.e. Dynamically loadable dissectors)Olivier Abad1-0/+52
depends on dlopen() being available on the target platform svn path=/trunk/; revision=1263