a lot more capture engine code cleanup
[obnox/wireshark/wip.git] / file.c
diff --git a/file.c b/file.c
index 3ae46ee3067e6e48b13e652a35e1e4fd32d29c00..067e9ca5090118174fccd3a6dcbdd3995239034e 100644 (file)
--- 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)
 {