diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-14 12:21:12 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-14 20:21:57 +0000 |
commit | 99b6afbc28e24dcd7efeb8b1379e1f9947d20fe6 (patch) | |
tree | fb47a2f2ced201d80118e3a3eb0874b139d23bfb /epan/stat_tap_ui.h | |
parent | 04ab731933cf231f19956665cba64742923b28e5 (diff) |
Add a name field to tap_param, for use in error messages.
Change-Id: Ia4317b61ff30e269eba0ee2ea2c46f1668544b1b
Reviewed-on: https://code.wireshark.org/review/5309
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/stat_tap_ui.h')
-rw-r--r-- | epan/stat_tap_ui.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h index 05292e5442..3fee0fd6a5 100644 --- a/epan/stat_tap_ui.h +++ b/epan/stat_tap_ui.h @@ -45,10 +45,11 @@ typedef enum { } param_type; typedef struct _tap_param { - param_type type; - const char *title; - const enum_val_t *enum_vals; - gboolean 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; /* |