diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-24 06:45:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-24 06:45:14 +0000 |
commit | ca8f79df3d8d042806e24a70a738bd5c92b2dc90 (patch) | |
tree | 8d38b419307a3b72caa6f51744641c2cf2772ce1 /epan/packet.h | |
parent | b767826991ba30b900ae917a290927871bc62976 (diff) | |
download | wireshark-ca8f79df3d8d042806e24a70a738bd5c92b2dc90.tar.gz wireshark-ca8f79df3d8d042806e24a70a738bd5c92b2dc90.tar.bz2 wireshark-ca8f79df3d8d042806e24a70a738bd5c92b2dc90.zip |
Get rid of "init_all_protocols()"; instead, have a routine
"init_dissection()" which calls "epan_conversation_init()", does the
work that "init_all_protocols()" did, and then calls
"reassemble_init()", so that the standard sequence of dissection
initialization is done in one place, rather than having multiple places
call the same sequence of routines.
svn path=/trunk/; revision=4797
Diffstat (limited to 'epan/packet.h')
-rw-r--r-- | epan/packet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/packet.h b/epan/packet.h index 35aa9d1da6..3adb41364e 100644 --- a/epan/packet.h +++ b/epan/packet.h @@ -1,7 +1,7 @@ /* packet.h * Definitions for packet disassembly structures and routines * - * $Id: packet.h,v 1.52 2002/02/18 01:08:42 guy Exp $ + * $Id: packet.h,v 1.53 2002/02/24 06:45:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -216,8 +216,8 @@ extern void set_actual_length(tvbuff_t *tvb, guint specified_len); or "colorize packets" pass over the current capture file). */ extern void register_init_routine(void (*func)(void)); -/* Call all the registered "init" routines. */ -extern void init_all_protocols(void); +/* Initialize all data structures used for dissection. */ +extern void init_dissection(void); /* Allow protocols to register a "cleanup" routine to be * run after the initial sequential run through the packets. |