From be0e6a06316f5de9e8c580c4df4987104750ac28 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 3 Feb 2005 21:58:33 +0000 Subject: prevent ringbuffer from having to know about capture_file type at all (decoupling dependencies) svn path=/trunk/; revision=13266 --- ringbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ringbuffer.h') diff --git a/ringbuffer.h b/ringbuffer.h index f3acec11e0..b5904053e3 100644 --- a/ringbuffer.h +++ b/ringbuffer.h @@ -40,8 +40,8 @@ int ringbuf_init(const char *capture_name, guint num_files); wtap_dumper* ringbuf_init_wtap_dump_fdopen(int filetype, int linktype, int snaplen, int *err); -gboolean ringbuf_switch_file(capture_file *cf, wtap_dumper **pdh, int *err); -gboolean ringbuf_wtap_dump_close(capture_file *cf, int *err); +gboolean ringbuf_switch_file(wtap_dumper **pdh, gchar **save_file, int *save_file_fd, int *err); +gboolean ringbuf_wtap_dump_close(gchar **save_file, int *err); void ringbuf_free(void); void ringbuf_error_cleanup(void); -- cgit v1.2.1