Wireshark  4.3.0
The Wireshark network protocol analyzer
decode_as_utils.h
Go to the documentation of this file.
1 
11 #ifndef __DECODE_AS_UTILS_H__
12 #define __DECODE_AS_UTILS_H__
13 
14 #include "ws_symbol_export.h"
15 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24 
25 /*
26 * This is the template for the decode as option; it is shared between the
27 * various functions that output the usage for this parameter.
28 */
29 #define DECODE_AS_ARG_TEMPLATE "<layer_type>==<selector>,<decode_as_protocol>"
30 
31 bool decode_as_command_option(const char *cl_param);
32 
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36 
37 #endif /* __DECODE_AS_UTILS_H__ */