diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-11 18:57:19 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-11 18:57:19 +0000 |
commit | 61ccc8baf1f786dc42c7f3e86a564d151974cbb3 (patch) | |
tree | 0a8d003ec4d6e27e1abf45174002438216cbaa0e /capture_sync.h | |
parent | fbace0592cbe08ed1d8f5b199a58b1cde9a61535 (diff) |
various capture code cleanup and fixes:
display filename in statusbar while capturing
print_usage banner fixed
cf_cb_live_capture_prepare no longer needed
rename sync_pipe_do_capture -> sync_pipe_start
bugfix: sync_pipe_input_wait_for_start replaced by former implementation
fix cleanup of old file in capture_input_new_file
fix a tempfile detection bug (named file showed up as tempfile after capture)
svn path=/trunk/; revision=14053
Diffstat (limited to 'capture_sync.h')
-rw-r--r-- | capture_sync.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/capture_sync.h b/capture_sync.h index 5a52552663..b429cc4184 100644 --- a/capture_sync.h +++ b/capture_sync.h @@ -27,7 +27,8 @@ * * Sync mode capture (internal interface). * - * Will start a new Ethereal child instance which will do the actual capture work. + * Will start a new Ethereal child instance which will do the actual capture + * work. */ #ifndef __CAPTURE_SYNC_H__ @@ -36,6 +37,8 @@ /** * Start a new capture session. * Create a capture child which is doing the real capture work. + * The various capture_input_... functions will be called, if something had + * happened. * * Most of the parameters are passed through the global capture_opts. * @@ -44,7 +47,7 @@ * @return TRUE if a capture could be started, FALSE if not */ extern gboolean -sync_pipe_do_capture(capture_options *capture_opts, gboolean is_tempfile); +sync_pipe_start(capture_options *capture_opts, gboolean is_tempfile); /** User wants to stop capturing, gracefully close the capture child */ extern void |