aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stream.h
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 18:25:23 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 18:25:23 +0000
commit0e5cef61be28b595269433c50b23ce71a24b9fd3 (patch)
tree3906bcb3782e7eeaccdf0142093b63c249a57593 /epan/stream.h
parentd6122ad4223c0616f3ac12b96f079f04cd83d3c4 (diff)
Split a bunch of init routines into init() and cleanup(). This allows us to free memory properly on shutdown.
This is an initial step. There's still some work to do. svn path=/trunk/; revision=29754
Diffstat (limited to 'epan/stream.h')
-rw-r--r--epan/stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/stream.h b/epan/stream.h
index aeb18e4cc1..a7e50f7523 100644
--- a/epan/stream.h
+++ b/epan/stream.h
@@ -80,7 +80,7 @@ extern stream_t *find_stream_conv ( const struct conversation *conv, int p2p_dir
/* see if we've seen this fragment before.
-
+
The framenum and offset are just hash keys, so can be any values unique
to this frame, but the idea is that you use the number of the frame being
disassembled, and the byte-offset within that frame.
@@ -134,5 +134,6 @@ extern guint32 stream_get_pdu_no( const stream_pdu_fragment_t *frag);
/* initialise the stream routines */
void stream_init( void );
+void stream_cleanup( void );
#endif /* STREAM_H */