File: required_file_handlers.h

package info (click to toggle)
wireshark 4.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 351,244 kB
  • sloc: ansic: 3,101,885; cpp: 129,710; xml: 100,972; python: 56,512; perl: 24,575; sh: 5,874; lex: 4,383; pascal: 4,304; makefile: 165; ruby: 113; objc: 91; tcl: 35
file content (34 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (3)
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__ */