Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
introspection.h
Go to the documentation of this file.
1
10#pragma once
11#include <stddef.h>
12#include <ws_symbol_export.h>
14
24WS_DLL_PUBLIC
25const ws_enum_t *epan_inspect_enums(void);
26
32WS_DLL_PUBLIC
33size_t epan_inspect_enums_count(void);
34
41WS_DLL_PUBLIC
42const ws_enum_t *epan_inspect_enums_bsearch(const char *needle);
WS_DLL_PUBLIC size_t epan_inspect_enums_count(void)
Returns size of enums array not including null terminator.
Definition introspection.c:24
WS_DLL_PUBLIC const ws_enum_t * epan_inspect_enums(void)
Returns a list of all Wireshark enums. It can be used by language bindings to the Wireshark API to ob...
Definition introspection.c:19
WS_DLL_PUBLIC const ws_enum_t * epan_inspect_enums_bsearch(const char *needle)
Performs a binary search in the enums for the magic constant "needle".
Definition introspection.c:30
Represents a symbolic enumeration entry.
Definition introspection.h:24