aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 18:04:09 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 18:04:09 +0000
commit2d1981f08b9b257b0c245db3576913f27b6442de (patch)
treecc8e5a4fdcd0437d95b5f461e91a70140d4d8faa /capture_sync.h
parentb64ebb05c29f5362ac8fa8fe182dfbe3c571eead (diff)
various (minor) capture code cleanup
svn path=/trunk/; revision=13957
Diffstat (limited to 'capture_sync.h')
-rw-r--r--capture_sync.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/capture_sync.h b/capture_sync.h
index 084fcc2e1c..5a52552663 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -27,21 +27,19 @@
*
* Sync mode capture (internal interface).
*
- * Will start a new Ethereal instance which will do the actual capture work.
- * This is only used, if the "Update list of packets in real time" option is
- * used.
+ * Will start a new Ethereal child instance which will do the actual capture work.
*/
#ifndef __CAPTURE_SYNC_H__
#define __CAPTURE_SYNC_H__
/**
- * Start a new synced capture session.
+ * Start a new capture session.
* Create a capture child which is doing the real capture work.
*
* Most of the parameters are passed through the global capture_opts.
*
- * @param capture_opts the options (formerly global)
+ * @param capture_opts the options
* @param is_tempfile TRUE if the current cfile is a tempfile
* @return TRUE if a capture could be started, FALSE if not
*/
@@ -52,7 +50,7 @@ sync_pipe_do_capture(capture_options *capture_opts, gboolean is_tempfile);
extern void
sync_pipe_stop(capture_options *capture_opts);
-/** We want to stop the program, just kill the child as soon as possible */
+/** User wants to stop the program, just kill the child as soon as possible */
extern void
sync_pipe_kill(capture_options *capture_opts);
@@ -61,6 +59,10 @@ sync_pipe_kill(capture_options *capture_opts);
extern void
sync_pipe_capstart_to_parent(void);
+/** 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);
@@ -69,10 +71,6 @@ sync_pipe_packet_count_to_parent(int packet_count);
extern void
sync_pipe_drops_to_parent(int drops);
-/** the child has opened a new capture file, notify the parent */
-extern void
-sync_pipe_filename_to_parent(const char *filename);
-
/** the child encountered an error, notify the parent */
extern void
sync_pipe_errmsg_to_parent(const char *errmsg);