diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-03 04:00:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-03 04:00:26 +0000 |
commit | bced8711f67b5dba76e9d6cdfd1a0246b235df27 (patch) | |
tree | 6303e298a7b136a1e1da306950398c99e3e71432 /packet-http.h | |
parent | 8d0ea8bc932de5cf57183a593be160515af064d9 (diff) |
Make "dissector_add()", "dissector_delete()", and "dissector_change()"
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID. Associate dissector handles with
dissector table entries.
svn path=/trunk/; revision=4308
Diffstat (limited to 'packet-http.h')
-rw-r--r-- | packet-http.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-http.h b/packet-http.h index 372f61f1f5..e4b534cea0 100644 --- a/packet-http.h +++ b/packet-http.h @@ -1,11 +1,10 @@ /* packet-http.h * - * $Id: packet-http.h,v 1.5 2001/01/11 06:30:54 guy Exp $ + * $Id: packet-http.h,v 1.6 2001/12/03 03:59:35 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * 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 @@ -25,6 +24,6 @@ #ifndef __PACKET_HTTP_H__ #define __PACKET_HTTP_H__ -void http_dissector_add(guint32 port, dissector_t dissector, int proto); +void http_dissector_add(guint32 port, dissector_handle_t handle); #endif |