2021-11-30 08:01:36 -05:00
|
|
|
/** @file
|
2013-12-10 19:23:26 +00:00
|
|
|
*
|
|
|
|
* "Decode As" UI utility routines.
|
|
|
|
*
|
|
|
|
* By David Hampton <dhampton@mac.com>
|
|
|
|
* Copyright 2001 David Hampton
|
|
|
|
*
|
2018-02-07 12:26:45 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later*
|
2013-12-10 19:23:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DECODE_AS_UTILS_H__
|
|
|
|
#define __DECODE_AS_UTILS_H__
|
|
|
|
|
2013-12-10 20:00:02 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
2013-12-10 19:23:26 +00:00
|
|
|
/** @file
|
|
|
|
* "Decode As" / "User Specified Decodes" dialog box.
|
|
|
|
* @ingroup main_ui_group
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2016-06-19 02:33:13 -04:00
|
|
|
/*
|
|
|
|
* This is the template for the decode as option; it is shared between the
|
|
|
|
* various functions that output the usage for this parameter.
|
|
|
|
*/
|
|
|
|
#define DECODE_AS_ARG_TEMPLATE "<layer_type>==<selector>,<decode_as_protocol>"
|
|
|
|
|
2024-03-29 18:08:09 -07:00
|
|
|
bool decode_as_command_option(const char *cl_param);
|
2016-06-19 02:33:13 -04:00
|
|
|
|
2013-12-10 19:23:26 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2014-10-14 15:58:21 -04:00
|
|
|
#endif /* __DECODE_AS_UTILS_H__ */
|