diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /plugins/epan/transum/extractors.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/epan/transum/extractors.h')
-rw-r--r-- | plugins/epan/transum/extractors.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/epan/transum/extractors.h b/plugins/epan/transum/extractors.h new file mode 100644 index 00000000..d56134a6 --- /dev/null +++ b/plugins/epan/transum/extractors.h @@ -0,0 +1,21 @@ +/* extractors.h + * Header file for the TRANSUM response time analyzer post-dissector + * By Paul Offord <paul.offord@advance7.com> + * Copyright 2016 Advance Seven Limited + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#include <epan/prefs.h> +#include <epan/packet.h> + +#define MAX_RETURNED_ELEMENTS 16 + +int extract_uint(proto_tree *tree, int field_id, guint32 *result_array, size_t *element_count); +int extract_ui64(proto_tree *tree, int field_id, guint64 *result_array, size_t *element_count); +int extract_si64(proto_tree *tree, int field_id, guint64 *result_array, size_t *element_count); +int extract_bool(proto_tree *tree, int field_id, gboolean *result_array, size_t *element_count); +int extract_instance_count(proto_tree *tree, int field_id, size_t *element_count); |