From 83ec54675c19f25cfbb2e8a8863c6ee2191d8b0c Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Wed, 27 Sep 2000 04:55:05 +0000 Subject: First step in moving core Ethereal routines to libepan. svn path=/trunk/; revision=2458 --- epan/epan.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 epan/epan.c (limited to 'epan/epan.c') 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 +#include + +#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(); +} -- cgit v1.2.3