forked from osmocom/wireshark
![Dario Lombardo](/assets/img/avatar_default.png)
Skipping dissectors dir for now. Change-Id: I717b66bfbc7cc81b83f8c2cbc011fcad643796aa Reviewed-on: https://code.wireshark.org/review/25694 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
30 lines
632 B
C
30 lines
632 B
C
/* params.h
|
|
* Definitions for parameter handling routines
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __PARAMS_H__
|
|
#define __PARAMS_H__
|
|
|
|
/*
|
|
* Definition of a value for an enumerated type.
|
|
*
|
|
* "name" is the the name one would use on the command line for the value.
|
|
* "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 */
|
|
|