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:
Brian West
2009-08-28 20:30:03 +00:00
parent c37fb4f068
commit f28b26b8aa
3 changed files with 20 additions and 2 deletions

View File

@@ -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;