From e321859a867c6515fa18f88e90636e0b39a93779 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Tue, 28 Dec 2004 00:36:06 +0000 Subject: some code cleanup (comments changed) svn path=/trunk/; revision=12848 --- capture_loop.c | 8 +++++++- gtk/capture_dlg.h | 2 +- ringbuffer.h | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/capture_loop.c b/capture_loop.c index a8cbb87154..4537ee93ee 100644 --- a/capture_loop.c +++ b/capture_loop.c @@ -25,7 +25,13 @@ /** @file * - * Capture loop (internal interface). + * Capture loop (internal interface). + * + * It will open the input and output files, capture the packets, + * change ringbuffer output files while capturing and close all files again. + * + * The input file can be a network interface or capture pipe (unix only). + * The output file can be a single or a ringbuffer file handled by wiretap. * */ diff --git a/gtk/capture_dlg.h b/gtk/capture_dlg.h index 74407a8b72..3bd1904d2b 100644 --- a/gtk/capture_dlg.h +++ b/gtk/capture_dlg.h @@ -64,4 +64,4 @@ capture_if_cb(GtkWidget *widget, gpointer data); void set_capture_if_dialog_for_capture_in_progress(gboolean capture_in_progress); -#endif /* capture.h */ +#endif /* capture_dlg.h */ diff --git a/ringbuffer.h b/ringbuffer.h index 4e269a49cb..f3acec11e0 100644 --- a/ringbuffer.h +++ b/ringbuffer.h @@ -1,5 +1,5 @@ -/* capture.h - * Definitions for packet capture windows +/* ringbuffer.h + * Definitions for capture ringbuffer files * * $Id$ * -- cgit v1.2.3