Declare functions as extern, as some of them are part of the plugin ABI,

and compilation fails on Windows if they're not declared as externs.

svn path=/trunk/; revision=7295
This commit is contained in:
Guy Harris 2003-03-06 19:04:28 +00:00
parent e00fb8c413
commit e2c1862af7
1 changed files with 11 additions and 11 deletions

22
tap.h
View File

@ -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