diff options
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h index 2d5396f4cd..299818081f 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -85,6 +85,10 @@ epan_free(epan_t*); extern gchar* epan_get_version(void); +/* initialize an existing single packet dissection */ +epan_dissect_t* +epan_dissect_init(epan_dissect_t *edt, gboolean create_proto_tree, gboolean proto_tree_visible); + /* get a new single packet dissection */ /* should be freed using epan_dissect_free() after packet dissection completed */ epan_dissect_t* @@ -107,6 +111,10 @@ epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t *dfcode); void epan_dissect_fill_in_columns(epan_dissect_t *edt, gboolean fill_fd_colums); +/* releases resources attached to the packet dissection. DOES NOT free the actual pointer */ +void +epan_dissect_cleanup(epan_dissect_t* edt); + /* free a single packet dissection */ void epan_dissect_free(epan_dissect_t* edt); |