diff options
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.16 1999/09/30 06:11:44 guy Exp $ + * $Id: capture.h,v 1.17 1999/09/30 06:49:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -51,7 +51,15 @@ /* Name we give to the child process when doing a "-S" or "-F" capture. */ #define CHILD_NAME "ethereal-capture" +/* Create a temporary file and start a capture to it. */ void do_capture(void); + +/* Start a capture to a file we've opened; "cf.save_file" is the + pathname of the file, and "cf.save_file_fd" is the file descriptor + we got when we opened it. */ +void run_capture(void); + +/* Do the low-level work of a capture. */ void capture(void); #endif /* HAVE_LIBPCAP */ |