mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
add host_lookup api call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14667 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c37fb4f068
commit
f28b26b8aa
3 files changed
+20
-2
No files matched your search
+1
-1
@@ -867,7 +867,7 @@ static int get_netmask(struct sockaddr_in *me, int *mask)
|
||||
#endif
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_resolve_host(char *host, char *buf, size_t buflen)
|
||||
SWITCH_DECLARE(switch_status_t) switch_resolve_host(const char *host, char *buf, size_t buflen)
|
||||
{
|
||||
|
||||
struct addrinfo *ai;
|
||||
|
||||
Reference in new issue
Block a user