Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
decode_as_utils.h
Go to the documentation of this file.
1 /* decode_as_utils.h
2  *
3  * "Decode As" UI utility routines.
4  *
5  * By David Hampton <dhampton@mac.com>
6  * Copyright 2001 David Hampton
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later*
9  */
10 
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 gboolean decode_as_command_option(const gchar *cl_param);
32 
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36 
37 #endif /* __DECODE_AS_UTILS_H__ */
38 
39 /*
40  * Editor modelines - http://www.wireshark.org/tools/modelines.html
41  *
42  * Local variables:
43  * c-basic-offset: 4
44  * tab-width: 8
45  * indent-tabs-mode: nil
46  * End:
47  *
48  * vi: set shiftwidth=4 tabstop=8 expandtab:
49  * :indentSize=4:tabSize=8:noTabs=true:
50  */