Export functions str_to_ip() and str_to_ip6() to plugins

The functions str_to_ip() and str_to_ip6() are not yet exposed to plugins so
they cannot be used there.
Now they are added to the plugin API.

Change-Id: I9df267934ad43887a6326c8c9a1a666f263c08a2
Reviewed-on: https://code.wireshark.org/review/11728
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Jo Rueschel 2015-11-11 13:15:16 +01:00 committed by Michael Mann
parent 412ab838d2
commit 09f43c196e
1 changed files with 3 additions and 0 deletions

View File

@ -370,7 +370,10 @@ void addr_resolv_cleanup(void);
WS_DLL_PUBLIC
void manually_resolve_cleanup(void);
WS_DLL_PUBLIC
gboolean str_to_ip(const char *str, void *dst);
WS_DLL_PUBLIC
gboolean str_to_ip6(const char *str, void *dst);
#ifdef __cplusplus