Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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
22extern "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
37bool decode_as_command_option(const char *cl_param);
38
39#ifdef __cplusplus
40}
41#endif /* __cplusplus */
42
43#endif /* __DECODE_AS_UTILS_H__ */
bool decode_as_command_option(const char *cl_param)
Parses the command-line parameters for the decode as feature.
Definition decode_as_utils.c:191