Add valgrind support to randpkt-test.sh.
[metze/wireshark/wip.git] / cfile.c
1 /* cfile.c
2  * capture_file GUI-independent manipulation
3  * Vassilii Khachaturov <vassilii@tarunz.org>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11
12 #include <config.h>
13
14 #include <glib.h>
15
16 #include <epan/packet.h>
17 #include <wiretap/pcapng.h>
18
19 #include "cfile.h"
20
21 void
22 cap_file_init(capture_file *cf)
23 {
24   /* Initialize the capture file struct */
25   memset(cf, 0, sizeof(capture_file));
26 }
27
28 /*
29  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
30  *
31  * Local Variables:
32  * c-basic-offset: 2
33  * tab-width: 8
34  * indent-tabs-mode: nil
35  * End:
36  *
37  * ex: set shiftwidth=2 tabstop=8 expandtab:
38  * :indentSize=2:tabSize=8:noTabs=true:
39  */