2013-12-10 19:23:26 +00:00
|
|
|
/* decode_as_utils.h
|
|
|
|
*
|
|
|
|
* "Decode As" UI utility routines.
|
|
|
|
*
|
|
|
|
* By David Hampton <dhampton@mac.com>
|
|
|
|
* Copyright 2001 David Hampton
|
|
|
|
*
|
2018-02-07 11:26:45 +00: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 06:33:13 +00: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>"
|
|
|
|
|
|
|
|
gboolean decode_as_command_option(const gchar *cl_param);
|
|
|
|
|
2013-12-10 19:23:26 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2014-10-14 19:58:21 +00:00
|
|
|
#endif /* __DECODE_AS_UTILS_H__ */
|
|
|
|
|
2014-10-12 18:56:12 +00:00
|
|
|
/*
|
2019-07-26 18:43:17 +00:00
|
|
|
* Editor modelines - https://www.wireshark.org/tools/modelines.html
|
2014-10-12 18:56:12 +00:00
|
|
|
*
|
|
|
|
* Local variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|