aboutsummaryrefslogtreecommitdiffstats
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-08-28 11:05:51 +0000
committerSake Blok <sake@euronet.nl>2010-08-28 11:05:51 +0000
commitf17c5ac01f9198a033f6c1cb97ee54676121453e (patch)
treecec416f861481d0c1acfba756b4f816347c974a4 /ringbuffer.h
parent42a0f16cef0e3009168d8c2ffa6987ffcf8ecca4 (diff)
As mentioned on the users-mailinglist[1], it could be useful to have groups read access to the ringbuffer that dumpcap creates. That way, a group of people can access the capture files without having to use root access.
[1] http://www.wireshark.org/lists/wireshark-users/201008/msg00235.html svn path=/trunk/; revision=33978
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index 497c982..02e1ccb 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -38,7 +38,7 @@
/* Maximum number for FAT filesystems */
#define RINGBUFFER_WARN_NUM_FILES 65535
-int ringbuf_init(const char *capture_name, guint num_files);
+int ringbuf_init(const char *capture_name, guint num_files, gboolean group_read_access);
const gchar *ringbuf_current_filename(void);
FILE *ringbuf_init_libpcap_fdopen(int *err);
gboolean ringbuf_switch_file(FILE **pdh, gchar **save_file, int *save_file_fd,