diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-03-28 14:39:31 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-03-28 14:39:31 +0000 |
commit | daa67c79ba2b65c3893ffdf9022c5cf64025c4e7 (patch) | |
tree | 7b16c0c3ae319d9a202509eab1524ca7faf9167b /file.c | |
parent | d11694e340b0a927f129f0bf437dcf637c7d593d (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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |