aboutsummaryrefslogtreecommitdiffstats
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2009-04-26 15:51:25 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2009-04-26 15:51:25 +0000
commitf5547c0d7815ff8f6b52b0c70ca3c8b9fcd5db54 (patch)
tree057f7caabc8decd89bba902c01517115a72fcb53 /ringbuffer.h
parentc68e3442845308c0cdc18068885874ce31f92d96 (diff)
Make ringbuffer.[ch] file format agnostic.
Move write routines to dumpcap.c This is a preparation for pcapng support. svn path=/trunk/; revision=28155
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index 9ecf237..a0c3cc6 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -40,10 +40,9 @@
int ringbuf_init(const char *capture_name, guint num_files);
const gchar *ringbuf_current_filename(void);
-FILE *ringbuf_init_libpcap_fdopen(int linktype, int snaplen,
- long *bytes_written, int *err);
+FILE *ringbuf_init_libpcap_fdopen(int *err);
gboolean ringbuf_switch_file(FILE **pdh, gchar **save_file, int *save_file_fd,
- long *bytes_written, int *err);
+ int *err);
gboolean ringbuf_libpcap_dump_close(gchar **save_file, int *err);
void ringbuf_free(void);
void ringbuf_error_cleanup(void);