diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 19:14:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 19:14:52 +0000 |
commit | 9ac21fd6cc55bc9bcfe71dcb696097b33b2664ed (patch) | |
tree | d0f7db92d950cc72aa4fa284e492ed212460de64 /capture.h | |
parent | 491b512399e16bf727e94d2368dc05bc914a4733 (diff) |
AAAAAArgh. The capture_input_new_XXX routines are called from
capture_sync.c, not from capture.c, so they should be declared in
capture_sync.h, so callers that use the capture_sync.c stuff but not the
capture.c stuff - such as TShark - get the declarations and get their
implementations compared with the signatures that they should have.
Doing so points out that some of them in TShark *don't*, so fix that.
svn path=/trunk/; revision=49517
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 40 |
1 files changed, 0 insertions, 40 deletions
@@ -80,46 +80,6 @@ capture_restart(capture_session *cap_session); extern void capture_kill_child(capture_session *cap_session); -/** - * Capture child told us we have a new (or the first) capture file. - */ -extern gboolean -capture_input_new_file(capture_session *cap_session, gchar *new_file); - -/** - * Capture child told us we have new packets to read. - */ -extern void -capture_input_new_packets(capture_session *cap_session, int to_read); - -/** - * Capture child told us how many dropped packets it counted. - */ -extern void -capture_input_drops(capture_session *cap_session, guint32 dropped); - -/** - * Capture child told us that an error has occurred while starting the capture. - */ -extern void -capture_input_error_message(capture_session *cap_session, char *error_message, - char *secondary_error_msg); - -/** - * Capture child told us that an error has occurred while parsing a - * capture filter when starting/running the capture. - */ -extern void -capture_input_cfilter_error_message(capture_session *cap_session, guint i, - char *error_message); - -/** - * Capture child closed its side of the pipe, report any error and - * do the required cleanup. - */ -extern void -capture_input_closed(capture_session *cap_session, gchar *msg); - struct if_stat_cache_s; typedef struct if_stat_cache_s if_stat_cache_t; |