aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-04 01:29:29 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-04 01:29:29 +0000
commit8dc7615c1ec4e96d93a1982437b5c9f642691315 (patch)
treea6af68fed74eef2c0549138e7309494650469d34 /file.h
parentec2b6b69e77ed24cb615ae3290186a560ff73865 (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13276 f5534014-38df-0310-8fa8-9805f1628bb7
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,