Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
params.h
1 /* params.h
2  * Definitions for parameter handling routines
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PARAMS_H__
12 #define __PARAMS_H__
13 
14 /*
15  * Definition of a value for an enumerated type.
16  *
17  * "name" is the the name one would use on the command line for the value.
18  * "description" is the description of the value, used in combo boxes/
19  * option menus.
20  * "value" is the value.
21  */
22 typedef struct {
23  const char *name;
24  const char *description;
25  gint value;
26 } enum_val_t;
27 
28 #endif /* params.h */
29 
Definition: params.h:22