aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-09-27 04:55:05 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-09-27 04:55:05 +0000
commit83ec54675c19f25cfbb2e8a8863c6ee2191d8b0c (patch)
tree35d39e43d20aca160b96d8a85ddc2b80e4646f67 /epan/epan.c
parentf881e13932e0ba390c26cce15d1334b2154a8062 (diff)
First step in moving core Ethereal routines to libepan.
svn path=/trunk/; revision=2458
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
new file mode 100644
index 0000000000..d8ad05b6b6
--- /dev/null
+++ b/epan/epan.c
@@ -0,0 +1,41 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <glib.h>
+#include <epan.h>
+
+#include "conversation.h"
+#include "dfilter.h"
+#include "except.h"
+#include "proto.h"
+#include "tvbuff.h"
+
+void
+epan_init(void)
+{
+ except_init();
+ tvbuff_init();
+ proto_init();
+ dfilter_init();
+#ifdef HAVE_PLUGINS
+ init_plugins(epan);
+#endif
+}
+
+void
+epan_cleanup(void)
+{
+ dfilter_cleanup();
+ proto_cleanup();
+ tvbuff_cleanup();
+ except_deinit();
+}
+
+
+void
+epan_conversation_init(void)
+{
+ conversation_init();
+}