aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
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.c
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.c')
-rw-r--r--file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/file.c b/file.c
index 3ae46ee306..067e9ca509 100644
--- a/file.c
+++ b/file.c
@@ -659,6 +659,12 @@ cf_is_tempfile(capture_file *cf)
return cf->is_tempfile;
}
+void cf_set_tempfile(capture_file *cf, gboolean is_tempfile)
+{
+ cf->is_tempfile = is_tempfile;
+}
+
+
/* XXX - use a macro instead? */
void cf_set_drops_known(capture_file *cf, gboolean drops_known)
{