2021-11-30 04:18:35 +00:00
|
|
|
/** @file
|
|
|
|
*
|
2011-06-05 22:39:23 +00:00
|
|
|
* Definitions for parameter handling routines
|
|
|
|
*
|
2014-08-11 00:19:39 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2013-01-31 21:02:23 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2011-06-05 22:39:23 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-08 16:59:17 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2011-06-05 22:39:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PARAMS_H__
|
|
|
|
#define __PARAMS_H__
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Definition of a value for an enumerated type.
|
|
|
|
*
|
2021-12-20 02:40:23 +00:00
|
|
|
* "name" is the name one would use on the command line for the value.
|
2011-06-05 22:39:23 +00:00
|
|
|
* "description" is the description of the value, used in combo boxes/
|
|
|
|
* option menus.
|
|
|
|
* "value" is the value.
|
|
|
|
*/
|
|
|
|
typedef struct {
|
|
|
|
const char *name;
|
|
|
|
const char *description;
|
|
|
|
gint value;
|
|
|
|
} enum_val_t;
|
|
|
|
|
|
|
|
#endif /* params.h */
|
|
|
|
|