regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / include / wireshark.h
blob3ffa9557630663048d515b450ac3f38caa909353
1 /* wireshark.h
2 * Global public header with minimally available wireshark API
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
11 #ifndef __WIRESHARK_H__
12 #define __WIRESHARK_H__
15 * This header can be included in any file, header or source, public or private.
16 * It is strongly recommended to be always included to provide macros that are
17 * required for the project and a consistent minimum set of interfaces that are
18 * always guaranteed to be available. There is no need to include <glib.h>
19 * directly, this header should replace it.
21 * Other public headers provided here should be minimal, with stable interfaces
22 * and have only global declarations.
24 * Every time this header changes everything must be rebuilt so consider carefully
25 * if the other project headers included here should really have global scope.
27 * See README.developer for a more in-depth guide.
30 /* System headers.*/
31 #include <inttypes.h>
32 #include <stdbool.h>
33 #include <string.h>
35 #include <glib.h>
38 * Project headers and definitions.
40 * Only public headers and symbols can be included here. Nothing related
41 * with configuration.
43 #include <ws_version.h>
45 #include <ws_attributes.h>
46 #include <ws_compiler_tests.h>
47 #include <ws_diag_control.h>
48 #include <ws_posix_compat.h>
49 #include <ws_symbol_export.h>
51 #include <wsutil/ws_assert.h>
52 #include <wsutil/wslog.h>
53 #include <wsutil/glib-compat.h>
54 #include <wsutil/wmem/wmem.h>
56 #endif /* __WIRESHARK_H__ */
59 * Editor modelines - https://www.wireshark.org/tools/modelines.html
61 * Local variables:
62 * c-basic-offset: 4
63 * tab-width: 8
64 * indent-tabs-mode: nil
65 * End:
67 * vi: set shiftwidth=4 tabstop=8 expandtab:
68 * :indentSize=4:tabSize=8:noTabs=true: