X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=capture_sync.h;h=a8b6e6edafae550adc4dd1ef618dbe4da1b2e717;hp=aecb8f00d1c2687d4f750b49d7cd88b248ef2aa2;hb=b57d071069e0b51f2472da84392518a7674df962;hpb=fe3a732e822900b1b5cb148fd2c3e729f60cb66e diff --git a/capture_sync.h b/capture_sync.h index aecb8f00d1..a8b6e6edaf 100644 --- a/capture_sync.h +++ b/capture_sync.h @@ -1,10 +1,10 @@ /* capture_sync.h - * Synchronisation between Ethereal capture parent and child instances + * Synchronisation between Wireshark capture parent and child instances * * $Id$ * - * Ethereal - Network traffic analyzer - * By Gerald Combs + * Wireshark - Network traffic analyzer + * By Gerald Combs * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ * * Sync mode capture (internal interface). * - * Will start a new Ethereal child instance which will do the actual capture + * Will start a new Wireshark child instance which will do the actual capture * work. */ @@ -35,26 +35,6 @@ #define __CAPTURE_SYNC_H__ -/* Size of buffer to hold decimal representation of - signed/unsigned 64-bit int */ -#define SP_DECISIZE 20 - -/* - * Indications sent out on the sync pipe (from child to parent). - */ -#define SP_FILE 'F' /* the name of the recently opened file */ -#define SP_ERROR_MSG 'E' /* error message */ -#define SP_BAD_FILTER 'B' /* error message for bad capture filter */ -#define SP_PACKET_COUNT 'P' /* count of packets captured since last message */ -#define SP_DROPS 'D' /* count of packets dropped in capture */ -/* - * Win32 only: Indications sent out on the signal pipe (from parent to child) - * (UNIX-like sends signals for this) - */ -#define SP_QUIT 'Q' /* "gracefully" capture quit message (SIGUSR1) */ - - - /** * Start a new capture session. * Create a capture child which is doing the real capture work. @@ -77,29 +57,6 @@ sync_pipe_stop(capture_options *capture_opts); extern void sync_pipe_kill(capture_options *capture_opts); - -/** the child has opened a new capture file, notify the parent */ -extern void -sync_pipe_filename_to_parent(const char *filename); - -/** the child captured some new packets, notify the parent */ -extern void -sync_pipe_packet_count_to_parent(int packet_count); - -/** the child stopped capturing, notify the parent */ -extern void -sync_pipe_drops_to_parent(int drops); - -/** the child encountered an error with a capture filter, notify the parent */ -extern void -sync_pipe_cfilter_error_to_parent(const char *cfilter, const char *errmsg); - -/** the child encountered an error, notify the parent */ -extern void -sync_pipe_errmsg_to_parent(const char *error_msg, - const char *secondary_error_msg); - - /** does the parent signalled the child to stop */ #ifdef _WIN32 extern gboolean