2002-09-06 23:14:04 +00:00
|
|
|
/* cfile.c
|
2009-09-21 18:09:19 +00:00
|
|
|
* capture_file GUI-independent manipulation
|
2002-09-06 23:14:04 +00:00
|
|
|
* Vassilii Khachaturov <vassilii@tarunz.org>
|
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2002-09-06 23:14:04 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-07 11:26:45 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2002-09-06 23:14:04 +00:00
|
|
|
*/
|
|
|
|
|
2014-08-22 21:13:05 +00:00
|
|
|
#include <config.h>
|
2002-09-06 23:14:04 +00:00
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#include <epan/packet.h>
|
2016-01-26 01:17:21 +00:00
|
|
|
#include <wiretap/pcapng.h>
|
2002-09-06 23:14:04 +00:00
|
|
|
|
|
|
|
#include "cfile.h"
|
|
|
|
|
|
|
|
void
|
2009-09-22 16:53:11 +00:00
|
|
|
cap_file_init(capture_file *cf)
|
2002-09-06 23:14:04 +00:00
|
|
|
{
|
|
|
|
/* Initialize the capture file struct */
|
2012-07-19 22:09:44 +00:00
|
|
|
memset(cf, 0, sizeof(capture_file));
|
2011-04-25 05:33:07 +00:00
|
|
|
}
|
2014-10-12 18:56:12 +00:00
|
|
|
|
|
|
|
/*
|
2019-07-26 18:43:17 +00:00
|
|
|
* Editor modelines - https://www.wireshark.org/tools/modelines.html
|
2014-10-12 18:56:12 +00:00
|
|
|
*
|
|
|
|
* Local Variables:
|
|
|
|
* c-basic-offset: 2
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
|
|
|
* :indentSize=2:tabSize=8:noTabs=true:
|
|
|
|
*/
|