diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-04-02 00:38:36 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-04-02 00:38:36 +0000 |
commit | f5cf9c8dcaebd81935264cbcc55bb6de1fa98ba2 (patch) | |
tree | 9b6ab3270962ed53d41dbf9d7978bf6bff9705b7 /epan/epan.h | |
parent | 58a096e88c8b5904d1059c7f3a588947d8ae7e07 (diff) | |
download | wireshark-f5cf9c8dcaebd81935264cbcc55bb6de1fa98ba2.tar.gz wireshark-f5cf9c8dcaebd81935264cbcc55bb6de1fa98ba2.tar.bz2 wireshark-f5cf9c8dcaebd81935264cbcc55bb6de1fa98ba2.zip |
Added two new arguments to epan_init() and proto_init() to
allow the passing of register_all_protocols() and
register_all_protocol_handoffs() through epan_init() to proto_init().
This allows the removal of the compile time dependence of proto.c
on register.h. Modified dftest.c, tethereal.c, and gtk/main.c to
use the new style epan_init() and depend on register.h.
svn path=/trunk/; revision=3237
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/epan.h b/epan/epan.h index 9f94865f2e..a2d97585f8 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -1,6 +1,6 @@ /* epan.h * - * $Id: epan.h,v 1.5 2001/02/01 20:21:16 gram Exp $ + * $Id: epan.h,v 1.6 2001/04/02 00:38:34 hagbard Exp $ * * Ethereal Protocol Analyzer Library * @@ -14,7 +14,8 @@ /* XXX - for now */ #include "packet.h" -void epan_init(const char *); +void epan_init(const char * plugindir, void (register_all_protocols)(void), + void (register_all_handoffs)(void)); void epan_cleanup(void); void epan_conversation_init(void); |