summaryrefslogtreecommitdiffstats
path: root/include/wireshark.h
blob: f7c19c23ff7f0878353e50dfc6b94706fed2f027 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* wireshark.h
 * Global public header with minimally available wireshark API
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __WIRESHARK_H__
#define __WIRESHARK_H__

/*
 * This header can be included in any file, header or source, public or private.
 * It is strongly recommended to be always included to provide macros that are
 * required for the project and a consistent minimum set of interfaces that are
 * always guaranteed to be available. There is no need to include <glib.h>
 * directly, this header should replace it.
 *
 * Other public headers provided here should be minimal, with stable interfaces
 * and have only global declarations.
 *
 * Everytime this header changes everything must be rebuilt so consider carefully
 * if the other project headers included here should really have global scope.
 *
 * See README.developer for a more in-depth guide.
 */

/* System headers.*/
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>

#include <glib.h>

/*
 * Project headers and definitions.
 *
 * Only public headers and symbols can be included here. Nothing related
 * with configuration.
 */
#include <ws_version.h>

#include <ws_attributes.h>
#include <ws_compiler_tests.h>
#include <ws_diag_control.h>
#include <ws_posix_compat.h>
#include <ws_symbol_export.h>

#include <wsutil/ws_assert.h>
#include <wsutil/wslog.h>
#include <wsutil/glib-compat.h>
#include <wsutil/wmem/wmem.h>

#endif /* __WIRESHARK_H__ */

/*
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 4
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 *
 * vi: set shiftwidth=4 tabstop=8 expandtab:
 * :indentSize=4:tabSize=8:noTabs=true:
 */