path: root/packet-yhoo.h
diff options
authorGuy Harris <guy@alum.mit.edu>2000-05-05 09:32:36 +0000
committerGuy Harris <guy@alum.mit.edu>2000-05-05 09:32:36 +0000
commit6bbfd97bde03e01dbf64173b9fd4e85747fabf8e (patch)
tree950d9eb832f91889530022ffd446ddf3b4772801 /packet-yhoo.h
parentdedc615898ca05105579430990f44a441fa44009 (diff)
Add routines to:
register lists of "heuristic" dissectors, which are handed a frame that may or may contain a payload for the protocol they dissect, and that return FALSE if it's not or dissect the packet and return TRUE if it is; add a dissector to such a list; go through such a list, calling each dissector until either a dissector returns TRUE, in which case the routine returns TRUE, or it runs out of entries in the list, in which case the routine returns FALSE. Have lists of heuristic dissectors for TCP and for COTP when used with the Inactive Subset of CLNP, and add the GIOP and Yahoo Messenger dissectors to the first list and the Sinec H1 dissector to the second list. Make the dissector name argument to "dissector_add()" and "dissector_delete()" a "const char *" rarther than just a "char *". Add "heur_dissector_add()", the routine to add a heuristic dissector to a list of heuristic dissectors, to the set of routines we can export to plugins through a table on platforms where dynamically-loaded code can't call stuff in the main program, and initialize the element in the table in question for "dissector_add()" (which we'd forgotten to do). svn path=/trunk/; revision=1909
Diffstat (limited to 'packet-yhoo.h')
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-yhoo.h b/packet-yhoo.h
index 848642a1f0..364fbb1115 100644
--- a/packet-yhoo.h
+++ b/packet-yhoo.h
@@ -1,7 +1,7 @@
/* packet-yhoo.h
* Definitions for packet disassembly structures and routines
- * $Id: packet-yhoo.h,v 1.5 2000/02/15 21:03:32 gram Exp $
+ * $Id: packet-yhoo.h,v 1.6 2000/05/05 09:32:07 guy Exp $
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -29,8 +29,6 @@
#ifndef YAHOO_LIB_H
#define YAHOO_LIB_H
-void dissect_yhoo(const u_char *, int, frame_data *, proto_tree *);
/* Service constants */