aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-07-31 18:34:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-07-31 18:34:52 +0000
commitc9abf6ddec90e5999f7830871522f61371a93154 (patch)
tree0df91e1b7628c35fa26414dcaece192fa2170695 /epan/packet.h
parent2808683c782c6c51fb47a05036d061c0b3bf7b07 (diff)
From Tomas Kukosa: add "find_dissector_table()",
"dissector_get_port_handle()", "dissector_handle_get_short_name()", "dissector_handle_get_protocol_index()", "new_register_dissector()", and "new_create_dissector_handle()" to the list of APIs available to plugins on platforms where plugins have to call core Ethereal routines through pointers. "extern"alize the remaining routines in "epan/packet.h". svn path=/trunk/; revision=8116
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/packet.h b/epan/packet.h
index c52d906408..3431b8e156 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.67 2003/06/05 04:47:58 guy Exp $
+ * $Id: packet.h,v 1.68 2003/07/31 18:34:50 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -141,14 +141,14 @@ extern dissector_table_t register_dissector_table(const char *name,
char *ui_name, ftenum_t type, int base);
/* Find a dissector table by table name. */
-dissector_table_t find_dissector_table(const char *name);
+extern dissector_table_t find_dissector_table(const char *name);
/* Get the UI name for a sub-dissector table, given its internal name */
extern char *get_dissector_table_ui_name(const char *name);
/* Get the field type to use when displaying values of the selector for a
sub-dissector table, given the table's internal name */
-ftenum_t get_dissector_table_type(const char *name);
+extern ftenum_t get_dissector_table_type(const char *name);
/* Get the base to use when displaying values of the selector for a
sub-dissector table, given the table's internal name */
@@ -271,11 +271,11 @@ extern void postseq_cleanup_all_protocols(void);
* useful for dissector registration routines which need to compile
* display filters. dfilters can't initialize itself until all protocols
* have registereed themselvs. */
-void
+extern void
register_final_registration_routine(void (*func)(void));
/* Call all the registered "final_registration" routines. */
-void
+extern void
final_registration_all_protocols(void);
/*