Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Functions
decode_as_utils.h File Reference
#include "ws_symbol_export.h"

Go to the source code of this file.

Macros

#define DECODE_AS_ARG_TEMPLATE   "<layer_type>==<selector>,<decode_as_protocol>"
 

Functions

bool decode_as_command_option (const char *cl_param)
 Parses the command-line parameters for the decode as feature.
 

Detailed Description

"Decode As" UI utility routines.

By David Hampton dhamp.nosp@m.ton@.nosp@m.mac.c.nosp@m.om Copyright 2001 David Hampton

SPDX-License-Identifier: GPL-2.0-or-later*

"Decode As" / "User Specified Decodes" dialog box.

Function Documentation

◆ decode_as_command_option()

bool decode_as_command_option ( const char *  cl_param)

Parses the command-line parameters for the decode as feature.

Parameters
cl_paramPointer to the command-line parameter string.
Returns
true if the command-line parameter is valid and a matching table/dissector is found, false otherwise.