aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-04 01:29:29 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-04 01:29:29 +0000
commitdd71ad695f08b20a36787b871834cbc21f26904a (patch)
treea6af68fed74eef2c0549138e7309494650469d34 /file.h
parent02f8788b4ebb369ef7aabf9e75af37c614cf69a3 (diff)
(some) redesign of capture data structures.
don't use global cfile at all but only an untpyed handle to call the cf_... functions in file.c move the save_file member from capture_file to capture_opts, as it's only used while capturing and while preparing it svn path=/trunk/; revision=13276
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.h b/file.h
index 0b91efff86..fb1b3f97d6 100644
--- a/file.h
+++ b/file.h
@@ -52,6 +52,10 @@ read_status_t cf_finish_tail(capture_file *, int *);
/* size_t read_frame_header(capture_file *); */
gboolean cf_save(char *fname, capture_file * cf, packet_range_t *range, guint save_format);
const gchar *cf_get_display_name(capture_file *);
+int cf_packet_count(capture_file *cf);
+gboolean cf_is_tempfile(capture_file *cf);
+void cf_set_drops_known(capture_file *cf, gboolean drops_known);
+void cf_set_drops(capture_file *cf, guint32 drops);
gboolean
cf_merge_files(const char *out_filename, int out_fd, int in_file_count,