diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-27 19:06:58 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-27 19:06:58 +0300 |
commit | 9041d276fc6a4cb1fec5ffe445d57ac139cfaa5c (patch) | |
tree | eb94565230b3b79a45076fdca993e8081debce36 /src/nxt_sockaddr.h | |
parent | dfd3cc8c0eb7f3479ee08b5e518abd264da56a29 (diff) | |
download | unit-9041d276fc6a4cb1fec5ffe445d57ac139cfaa5c.tar.gz unit-9041d276fc6a4cb1fec5ffe445d57ac139cfaa5c.tar.bz2 |
nxt_sockaddr_parse() introducted.
Diffstat (limited to 'src/nxt_sockaddr.h')
-rw-r--r-- | src/nxt_sockaddr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_sockaddr.h b/src/nxt_sockaddr.h index dc4477c9..007d42e6 100644 --- a/src/nxt_sockaddr.h +++ b/src/nxt_sockaddr.h @@ -88,6 +88,7 @@ NXT_EXPORT nxt_bool_t nxt_sockaddr_cmp(nxt_sockaddr_t *sa1, nxt_sockaddr_t *sa2); NXT_EXPORT size_t nxt_sockaddr_ntop(nxt_sockaddr_t *sa, u_char *buf, u_char *end, nxt_bool_t port); +NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse(nxt_mp_t *mp, nxt_str_t *addr); NXT_EXPORT void nxt_job_sockaddr_parse(nxt_job_sockaddr_parse_t *jbs); NXT_EXPORT in_addr_t nxt_inet_addr(u_char *buf, size_t len); #if (NXT_INET6) |