diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 23:02:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 23:02:19 +0000 |
commit | 70bb111babe59ed887ebc78fa6f7d79649acaa97 (patch) | |
tree | 8c3099c930738511fd7612ab78ad02b2bc7db3de /epan/epan.h | |
parent | 3384fee17796ac829014605da70af7b406ba2d3b (diff) |
Turn "packet_is_ssl()" into a general "does the packet whose dissection
is in this epan_dissect_t contain the field whose name is passed as an
argument" routine in libwireshark, and use it where we used
packet_is_ssl(). (We should check to see if anything *else* could use
it.)
svn path=/trunk/; revision=49530
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h index fc3f09ddc8..e138362df4 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -175,6 +175,12 @@ WS_DLL_PUBLIC void epan_dissect_fill_in_columns(epan_dissect_t *edt, const gboolean fill_col_exprs, const gboolean fill_fd_colums); +/** Check whether a dissected packet contains a given named field */ +WS_DLL_PUBLIC +gboolean +epan_dissect_packet_contains_field(epan_dissect_t* edt, + const char *field_name); + /** releases resources attached to the packet dissection. DOES NOT free the actual pointer */ WS_DLL_PUBLIC void |