mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +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:
@@ -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