aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-10-20 10:21:25 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-10-20 10:21:25 +0000
commitbad81b517fc829ae90a65bc19f445bdee0c3d2bf (patch)
tree616ba0b0b52842c6808f86fa56329d42894f608a /epan/epan.h
parent107e4a6c803ebbbcdcccc06081587e06d2703d12 (diff)
Reintroduce back epan_dissect_reset(), proto_tree_reset()
This time it makes more sense, cause for each dissection we need two wmem allocators. Reseting wmem allocator is much faster than destroy & create. svn path=/trunk/; revision=52706
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h
index cfa7a4d046..44f2d4c51b 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -152,6 +152,10 @@ WS_DLL_PUBLIC
epan_dissect_t*
epan_dissect_new(epan_t *session, const gboolean create_proto_tree, const gboolean proto_tree_visible);
+WS_DLL_PUBLIC
+void
+epan_dissect_reset(epan_dissect_t *edt);
+
/** Indicate whether we should fake protocols or not */
WS_DLL_PUBLIC
void