diff options
author | Michał Łabędzki <michal.labedzki@wireshark.org> | 2018-06-16 18:22:00 +0200 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@wireshark.org> | 2018-08-04 13:26:05 +0000 |
commit | a0814af296aa597867125a75094c7d7cfb1b045d (patch) | |
tree | fcda8e307eab0f1596c0cca1238257523c7d17c3 /sharkd.h | |
parent | 49aef5b06110ed92c9d16d175d53dac9499b3cb0 (diff) |
sharkd: Return frame's color-filter colors
Return color-filter bg/fg colors for single frame if requested.
Also return marked/ignored fields for frame.
Change-Id: I4480b733f54991c72bea1664fa6e7337812e6231
Reviewed-on: https://code.wireshark.org/review/28304
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michal Labedzki <michal.labedzki@wireshark.org>
Diffstat (limited to 'sharkd.h')
-rw-r--r-- | sharkd.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -14,6 +14,12 @@ #include <file.h> +#define SHARKD_DISSECT_FLAG_NULL 0x00u +#define SHARKD_DISSECT_FLAG_BYTES 0x01u +#define SHARKD_DISSECT_FLAG_COLUMNS 0x02u +#define SHARKD_DISSECT_FLAG_PROTO_TREE 0x04u +#define SHARKD_DISSECT_FLAG_COLOR 0x08u + typedef void (*sharkd_dissect_func_t)(epan_dissect_t *edt, proto_tree *tree, struct epan_column_info *cinfo, const GSList *data_src, void *data); /* sharkd.c */ @@ -23,7 +29,7 @@ int sharkd_retap(void); int sharkd_filter(const char *dftext, guint8 **result); frame_data *sharkd_get_frame(guint32 framenum); int sharkd_dissect_columns(frame_data *fdata, guint32 frame_ref_num, guint32 prev_dis_num, column_info *cinfo, gboolean dissect_color); -int sharkd_dissect_request(guint32 framenum, guint32 frame_ref_num, guint32 prev_dis_num, sharkd_dissect_func_t cb, int dissect_bytes, int dissect_columns, int dissect_tree, void *data); +int sharkd_dissect_request(guint32 framenum, guint32 frame_ref_num, guint32 prev_dis_num, sharkd_dissect_func_t cb, guint32 dissect_flags, void *data); const char *sharkd_get_user_comment(const frame_data *fd); int sharkd_set_user_comment(frame_data *fd, const gchar *new_comment); const char *sharkd_version(void); |