aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Xplugin_table.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-24 18:35:58 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-24 18:35:58 +0000
commit342fa7a1b572139f44bda608539c9bdb3fbb340e (patch)
tree558c62379375996e7751b8323a4ca1683444cd1b /plugins/Xplugin_table.h
parentd0d3f842bb581b36352dde0064700a6f1146e93e (diff)
From Tomas Kukosa:
Remove the internal packet-per.c functions "dissect_per_length_determinant()" and "dissect_per_normally_small_nonnegative_whole_number()" from the plugin API, as they shouldn't be used outside the PER dissector. Remove the H.225/H.245 functions "dissect_h225_TransportAddress()" and "dissect_h245_NonStandardParameter()" from the plugin API until we really need them in plugins. Add the string dissector table functions to the plugin API. svn path=/trunk/; revision=8532
Diffstat (limited to 'plugins/Xplugin_table.h')
-rw-r--r--plugins/Xplugin_table.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h
index 373261a28b..b5792e3c08 100644
--- a/plugins/Xplugin_table.h
+++ b/plugins/Xplugin_table.h
@@ -216,8 +216,6 @@ typedef int (*addr_dissector_handle_get_protocol_index) (dissector_handle_t);
typedef void (*addr_new_register_dissector) (const char *, new_dissector_t, int);
typedef dissector_handle_t (*addr_new_create_dissector_handle) (new_dissector_t, int);
typedef void (*addr_register_giop_user_module) (giop_sub_dissector_t (*), gchar *, gchar *, int);
-typedef guint32 (*addr_dissect_per_length_determinant) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, guint32 *);
-typedef guint32 (*addr_dissect_per_normally_small_nonnegative_whole_number) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, guint32 *);
typedef guint32 (*addr_dissect_per_GeneralString) (tvbuff_t *, guint32, packet_info *, proto_tree *, int);
typedef guint32 (*addr_dissect_per_sequence_of) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, gint, int (*) (tvbuff_t *, int, packet_info *, proto_tree *));
typedef guint32 (*addr_dissect_per_IA5String) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, int, int);
@@ -235,5 +233,9 @@ typedef guint32 (*addr_dissect_per_choice) (tvbuff_t *, guint32, packet_info *,
typedef guint32 (*addr_dissect_per_sequence) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, gint, per_sequence_t *);
typedef guint32 (*addr_dissect_per_octet_string) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, int, int, guint32 *, guint32 *);
typedef guint32 (*addr_dissect_per_restricted_character_string) (tvbuff_t *, guint32, packet_info *, proto_tree *, int, int, int, char *, int);
-typedef int (*addr_dissect_h225_TransportAddress) (tvbuff_t *, int, packet_info *, proto_tree *);
-typedef int (*addr_dissect_h245_NonStandardParameter) (tvbuff_t *, int, packet_info *, proto_tree *);
+typedef void (*addr_dissector_add_string) (const char *, gchar *, dissector_handle_t);
+typedef void (*addr_dissector_delete_string) (const char *, const gchar *, dissector_handle_t);
+typedef void (*addr_dissector_change_string) (const char *, gchar *, dissector_handle_t);
+typedef void (*addr_dissector_reset_string) (const char *, const gchar *);
+typedef gboolean (*addr_dissector_try_string) (dissector_table_t, const gchar *, tvbuff_t *, packet_info *, proto_tree *);
+typedef dissector_handle_t (*addr_dissector_get_string_handle) (dissector_table_t, const gchar *);