summaryrefslogtreecommitdiff
path: root/epan/address_types.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-06-12 11:12:15 -0400
committerMichael Mann <mmann78@netscape.net>2016-06-13 05:16:51 +0000
commit87b5597ee0170d4fcf05f7eae364fb79e70f8ca3 (patch)
treeb4e9550da9af89ca015fe73ec7fd55247f8158d0 /epan/address_types.h
parent0baf13f8e979b8755a7fa314c3fa65e5bf37d21a (diff)
downloadwireshark-87b5597ee0170d4fcf05f7eae364fb79e70f8ca3.tar.gz
Add address_type_get_by_name
This allows the decoupling of a dissector registering an address type so it doesn't need to export the returned registered type. Change-Id: I49c913d042e70bd4b7ea1e964ba9511bb27304f5 Reviewed-on: https://code.wireshark.org/review/15855 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/address_types.h')
-rw-r--r--epan/address_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/address_types.h b/epan/address_types.h
index 79265e6167..2fdb7f8f53 100644
--- a/epan/address_types.h
+++ b/epan/address_types.h
@@ -44,6 +44,8 @@ WS_DLL_PUBLIC int address_type_dissector_register(const char* name, const char*
AddrColFilterString col_filter_str_func, AddrFixedLen fixed_len_func,
AddrNameResolutionToString name_res_str_func, AddrNameResolutionLen name_res_len_func);
+WS_DLL_PUBLIC int address_type_get_by_name(const char* name);
+
void address_types_initialize(void);
/* Address type functions used by multiple (dissector) address types */