aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 14:39:31 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 14:39:31 +0000
commitdaa67c79ba2b65c3893ffdf9022c5cf64025c4e7 (patch)
tree7b16c0c3ae319d9a202509eab1524ca7faf9167b /file.h
parentd11694e340b0a927f129f0bf437dcf637c7d593d (diff)
a lot more capture engine code cleanup
most notably: - moved opening of safe_file to the capture child (capture_loop.c) - removed save_file_fd from capture_opts (no longer need to have it global) svn path=/trunk/; revision=13953
Diffstat (limited to 'file.h')
-rw-r--r--file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/file.h b/file.h
index 00c35cf9b1..091ea08e3b 100644
--- a/file.h
+++ b/file.h
@@ -183,6 +183,11 @@ int cf_packet_count(capture_file *cf);
gboolean cf_is_tempfile(capture_file *cf);
/**
+ * Set flag, that this file is a tempfile.
+ */
+void cf_set_tempfile(capture_file *cf, gboolean is_tempfile);
+
+/**
* Set flag, if the number of packet drops while capturing are known or not.
*
* @param cf the capture file