From f17c5ac01f9198a033f6c1cb97ee54676121453e Mon Sep 17 00:00:00 2001 From: Sake Blok Date: Sat, 28 Aug 2010 11:05:51 +0000 Subject: 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 --- ringbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ringbuffer.h') diff --git a/ringbuffer.h b/ringbuffer.h index 497c9827d2..02e1ccb8c5 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, -- cgit v1.2.1