diff options
Diffstat (limited to 'tap.h')
-rw-r--r-- | tap.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,7 +1,7 @@ /* tap.h * packet tap interface 2002 Ronnie Sahlberg * - * $Id: tap.h,v 1.6 2003/02/05 20:45:38 deniel Exp $ + * $Id: tap.h,v 1.7 2003/03/06 19:04:28 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -34,15 +34,15 @@ typedef int (*tap_packet_cb)(void *tapdata, packet_info *pinfo, epan_dissect_t typedef void (*tap_draw_cb)(void *tapdata); -void tap_init(void); -int register_tap(char *name); -int find_tap_id(char *name); -void tap_queue_packet(int tap_id, packet_info *pinfo, void *tap_specific_data); -void tap_queue_init(epan_dissect_t *edt); -void tap_push_tapped_queue(epan_dissect_t *edt); -void reset_tap_listeners(void); -void draw_tap_listeners(gboolean draw_all); -int register_tap_listener(char *tapname, void *tapdata, char *fstring, tap_reset_cb tap_reset, tap_packet_cb tap_packet, tap_draw_cb tap_draw); -void remove_tap_listener(void *tapdata); +extern void tap_init(void); +extern int register_tap(char *name); +extern int find_tap_id(char *name); +extern void tap_queue_packet(int tap_id, packet_info *pinfo, void *tap_specific_data); +extern void tap_queue_init(epan_dissect_t *edt); +extern void tap_push_tapped_queue(epan_dissect_t *edt); +extern void reset_tap_listeners(void); +extern void draw_tap_listeners(gboolean draw_all); +extern int register_tap_listener(char *tapname, void *tapdata, char *fstring, tap_reset_cb tap_reset, tap_packet_cb tap_packet, tap_draw_cb tap_draw); +extern void remove_tap_listener(void *tapdata); #endif |