aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stat_tap_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/stat_tap_ui.h')
-rw-r--r--epan/stat_tap_ui.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h
index 3fee0fd6a5..359cf4bf9a 100644
--- a/epan/stat_tap_ui.h
+++ b/epan/stat_tap_ui.h
@@ -37,32 +37,32 @@ extern "C" {
#include <epan/stat_groups.h>
typedef enum {
- PARAM_UINT,
- PARAM_STRING,
- PARAM_ENUM,
- PARAM_UUID,
- PARAM_FILTER
+ PARAM_UINT,
+ PARAM_STRING,
+ PARAM_ENUM,
+ PARAM_UUID,
+ PARAM_FILTER
} param_type;
typedef struct _tap_param {
- param_type type; /* type of parameter */
- const char *name; /* name to use in error messages */
- const char *title; /* title to use in GUI widgets */
- const enum_val_t *enum_vals; /* values for PARAM_ENUM */
- gboolean optional; /* TRUE if the parameter is optional */
+ param_type type; /* type of parameter */
+ const char *name; /* name to use in error messages */
+ const char *title; /* title to use in GUI widgets */
+ const enum_val_t *enum_vals; /* values for PARAM_ENUM */
+ gboolean optional; /* TRUE if the parameter is optional */
} tap_param;
/*
* UI information for a tap.
*/
typedef struct _stat_tap_ui {
- register_stat_group_t group; /* group to which statistic belongs */
- const char *title; /* title of statistic */
- const char *cli_string; /* initial part of the "-z" argument for statistic */
- void (* tap_init_cb)(const char *,void*); /* callback to init function of the tap */
- gint index; /* initiate this value always with "-1" */
- size_t nparams; /* number of parameters */
- tap_param *params; /* pointer to table of parameter info */
+ register_stat_group_t group; /* group to which statistic belongs */
+ const char *title; /* title of statistic */
+ const char *cli_string; /* initial part of the "-z" argument for statistic */
+ void (* tap_init_cb)(const char *, void*); /* callback to init function of the tap */
+ gint index; /* initiate this value always with "-1" */
+ size_t nparams; /* number of parameters */
+ tap_param *params; /* pointer to table of parameter info */
} stat_tap_ui;
/** Register UI information for a tap.