diff options
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c index 726d2f558c..75ff54214b 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -541,6 +541,17 @@ epan_dissect_prime_with_hfid(epan_dissect_t *edt, int hfid) proto_tree_prime_with_hfid(edt->tree, hfid); } +void +epan_dissect_prime_with_hfid_array(epan_dissect_t *edt, GArray *hfids) +{ + guint i; + + for (i = 0; i < hfids->len; i++) { + proto_tree_prime_with_hfid(edt->tree, + g_array_index(hfids, int, i)); + } +} + /* ----------------------- */ const gchar * epan_custom_set(epan_dissect_t *edt, GSList *field_ids, |