From 541c654ff07e1f85dbd1a54b18fea0579d79dfa3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 24 Feb 2002 09:25:36 +0000 Subject: Put all the capture options into a structure. Move the ringbuffer capture options from the "capture_file" structure to the structure for capture options, as they're a property of an in-progress capture, not a property of a particular capture file. svn path=/trunk/; revision=4799 --- file.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'file.h') diff --git a/file.h b/file.h index 381a992f9e..3212096b02 100644 --- a/file.h +++ b/file.h @@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.91 2002/02/24 03:33:04 guy Exp $ + * $Id: file.h,v 1.92 2002/02/24 09:25:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -87,10 +87,6 @@ typedef struct _capture_file { frame_data *current_frame; /* Frame data for current frame */ epan_dissect_t *edt; /* Protocol dissection fo rcurrently selected packet */ FILE *print_fh; /* File we're printing to */ -#ifdef HAVE_LIBPCAP - gboolean ringbuffer_on; /* Ringbuffer option */ - guint32 ringbuffer_num_files; /* Number of ringbuffer files */ -#endif } capture_file; /* Return values from "read_cap_file()", "continue_tail_cap_file()", -- cgit v1.2.3