diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-11-02 18:20:42 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-11-02 18:20:42 +0300 |
commit | 1d52beba7339a6edf235a2160bc20fc466e1823a (patch) | |
tree | e01e8e9f888929b2d0e93e350b4e48c35e04350a /src/core/ngx_inet.h | |
parent | 0c189c5159e8af6836ac985270da6a2ddff62456 (diff) |
ngx_parse_addr()
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r-- | src/core/ngx_inet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h index 7e8cce68d..3ac2e372e 100644 --- a/src/core/ngx_inet.h +++ b/src/core/ngx_inet.h @@ -109,6 +109,7 @@ size_t ngx_sock_ntop(struct sockaddr *sa, u_char *text, size_t len, ngx_uint_t port); size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); ngx_int_t ngx_ptocidr(ngx_str_t *text, ngx_cidr_t *cidr); +ngx_addr_t *ngx_parse_addr(ngx_pool_t *pool, ngx_str_t *addr); ngx_int_t ngx_parse_url(ngx_pool_t *pool, ngx_url_t *u); ngx_int_t ngx_inet_resolve_host(ngx_pool_t *pool, ngx_url_t *u); |