aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/required_file_handlers.h
blob: ae07de1425aef52a27a3c3a1383d97fecf54f9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/** @file
 *
 * Functions and variables defined by required file handlers (pcap,
 * nanosecond pcap, pcapng).
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __REQUIRED_FILE_HANDLERS_H__
#define __REQUIRED_FILE_HANDLERS_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/*
 * These are for use within libwiretap only; they are not exported.
 */
extern void register_pcap(void);
extern void register_pcapng(void);

extern int pcap_file_type_subtype;	/* regular pcap */
extern int pcap_nsec_file_type_subtype;	/* pcap with nanosecond resolution */
extern int pcapng_file_type_subtype;	/* pcapng */

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __REQUIRED_FILE_HANDLERS_H__ */