aboutsummaryrefslogtreecommitdiffstats
path: root/epan/circuit.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/circuit.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/circuit.h')
-rw-r--r--epan/circuit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/circuit.h b/epan/circuit.h
index 1271706a33..cd262b1318 100644
--- a/epan/circuit.h
+++ b/epan/circuit.h
@@ -51,6 +51,7 @@ typedef struct circuit {
circuit_key *key_ptr; /* pointer to the key for this circuit */
} circuit_t;
+extern void circuit_cleanup(void);
extern void circuit_init(void);
extern circuit_t *circuit_new(circuit_type ctype, guint32 circuit_id,