aboutsummaryrefslogtreecommitdiffstats
path: root/epan/osi-utils.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-02-07 22:15:55 -0500
committerMichael Mann <mmann78@netscape.net>2015-02-09 01:12:01 +0000
commit4497bb48fd3439474049f7c5e86b4ffa1df35828 (patch)
treef325f4a4ea7bfa485644527bc126cf6d7e216fc7 /epan/osi-utils.h
parent3b81c360ded5b81d9affe324435f358590220341 (diff)
Add address type registration.
Now address types are setup just like field types and must be registered with a structure that provides its string representation (and more things in the future). Address types that are limited to a single dissector are registered by the dissector. More "common" ones are globally registered. There are still a few that really belong in a dissector, but have other dependencies currently not accounted for in the address type support. Many of the "address to string" conversions that involved g_sprintf have be changed to use more "performance friendly" methods (some at the cost of needing to_str-int.h) Leaving all comments regarding this "solution" in address_to_str.c in until all have been implemented Change-Id: I494f413e016b22859c44675def11135f228796e0 Reviewed-on: https://code.wireshark.org/review/7019 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/osi-utils.h')
-rw-r--r--epan/osi-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/osi-utils.h b/epan/osi-utils.h
index 1dd02e31bd..2bcf7daaf5 100644
--- a/epan/osi-utils.h
+++ b/epan/osi-utils.h
@@ -53,6 +53,9 @@ gchar* print_system_id(wmem_allocator_t *, const guint8 *, int );
gchar* tvb_print_system_id( tvbuff_t *, const gint, int );
void print_system_id_buf( const guint8 *, int, gchar *, int);
+int get_osi_address_type(void);
+void register_osi_address_type(void);
+
#endif /* __OSI_UTILS_H__ */
/*