Wireshark  4.3.0
The Wireshark network protocol analyzer
introspection.h
Go to the documentation of this file.
1 
11 #ifndef _INTROSPECTION_H_
12 #define _INTROSPECTION_H_
13 
14 #include <stddef.h>
15 #include <ws_symbol_export.h>
16 
17 typedef struct {
18  const char *symbol;
19  int value;
20 } ws_enum_t;
21 
22 
24 WS_DLL_PUBLIC
25 const ws_enum_t *
26 ws_enums_bsearch(const ws_enum_t *enums, size_t count,
27  const char *needle);
28 
29 #endif
Definition: introspection.h:17
WS_DLL_PUBLIC const ws_enum_t * ws_enums_bsearch(const ws_enum_t *enums, size_t count, const char *needle)
Definition: introspection.c:23