Wireshark  4.3.0
The Wireshark network protocol analyzer
extractors.h
1 /* extractors.h
2  * Header file for the TRANSUM response time analyzer post-dissector
3  * By Paul Offord <paul.offord@advance7.com>
4  * Copyright 2016 Advance Seven Limited
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 #include <epan/prefs.h>
13 #include <epan/packet.h>
14 
15 #define MAX_RETURNED_ELEMENTS 16
16 
17 int extract_uint(proto_tree *tree, int field_id, uint32_t *result_array, size_t *element_count);
18 int extract_ui64(proto_tree *tree, int field_id, uint64_t *result_array, size_t *element_count);
19 int extract_si64(proto_tree *tree, int field_id, uint64_t *result_array, size_t *element_count);
20 int extract_bool(proto_tree *tree, int field_id, bool *result_array, size_t *element_count);
21 int extract_instance_count(proto_tree *tree, int field_id, size_t *element_count);
Definition: proto.h:904