summaryrefslogtreecommitdiff
path: root/epan/epan.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/epan/epan.h b/epan/epan.h
index 6882947c17..263a80f353 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -125,14 +125,11 @@ void epan_circuit_cleanup(void);
* some protocols cannot be decoded without knowledge of previous packets.
* This inter-packet "state" is stored in the epan_t.
*/
-/* XXX - NOTE: epan_t, epan_new and epan_free are currently unused! */
typedef struct epan_session epan_t;
-epan_t*
-epan_new(void);
+WS_DLL_PUBLIC epan_t *epan_new(void);
-void
-epan_free(epan_t*);
+WS_DLL_PUBLIC void epan_free(epan_t *session);
WS_DLL_PUBLIC const gchar*
epan_get_version(void);
@@ -140,14 +137,14 @@ epan_get_version(void);
/** initialize an existing single packet dissection */
WS_DLL_PUBLIC
epan_dissect_t*
-epan_dissect_init(epan_dissect_t *edt, const gboolean create_proto_tree, const gboolean proto_tree_visible);
+epan_dissect_init(epan_dissect_t *edt, epan_t *session, const gboolean create_proto_tree, const gboolean proto_tree_visible);
/** get a new single packet dissection
* should be freed using epan_dissect_free() after packet dissection completed
*/
WS_DLL_PUBLIC
epan_dissect_t*
-epan_dissect_new(const gboolean create_proto_tree, const gboolean proto_tree_visible);
+epan_dissect_new(epan_t *session, const gboolean create_proto_tree, const gboolean proto_tree_visible);
/** Indicate whether we should fake protocols or not */
WS_DLL_PUBLIC