1 /* required_file_handlers.h
2  * Functions and variables defined by required file handlers (pcap,
3  * nanosecond pcap, pcapng).
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 #ifndef __REQUIRED_FILE_HANDLERS_H__
13 #define __REQUIRED_FILE_HANDLERS_H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18 
19 /*
20  * These are for use within libwiretap only; they are not exported.
21  */
22 extern void register_pcap(void);
23 extern void register_pcapng(void);
24 
25 extern int pcap_file_type_subtype;	/* regular pcap */
26 extern int pcap_nsec_file_type_subtype;	/* pcap with nanosecond resolution */
27 extern int pcapng_file_type_subtype;	/* pcapng */
28 
29 #ifdef __cplusplus
30 }
31 #endif /* __cplusplus */
32 
33 #endif /* __REQUIRED_FILE_HANDLERS_H__ */
34