Ethereal-dev: [Ethereal-dev] Adding more functions to plugin API

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Charlie Duke <cduke@xxxxxxx>
Date: Fri, 31 Oct 2003 14:41:14 -0500
Hello,

I am requesting that these two functions be added to the plugin api:

void register_heur_dissector_list(const char *name,
    heur_dissector_list_t *list);

gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors,
    tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);


Attached is the diff output for ethereal/plugins/plugin_api_list.c from
0.9.15 distribution.


Thank you.

--
Charlie


Index: plugin_api_list.c
===================================================================
RCS file: /cvsrepos/ethereal/plugins/plugin_api_list.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 plugin_api_list.c
--- plugin_api_list.c	30 Oct 2003 22:13:14 -0000	1.1.1.2
+++ plugin_api_list.c	31 Oct 2003 19:29:21 -0000
@@ -73,6 +73,10 @@
     dissector_handle_t);
 
 void heur_dissector_add(const char *, heur_dissector_t, int);
+void register_heur_dissector_list(const char *name,
+    heur_dissector_list_t *list);
+gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors,
+    tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
 
 void register_dissector(const char *, dissector_t, int);
 dissector_handle_t find_dissector(const char *);