Mercurial > hg > nginx-vendor-1-0
view src/core/ngx_inet.h @ 12:7da8ea7c4448 NGINX_0_1_6
nginx 0.1.6
*) Bugfix: some location directive combinations with the regular
expressions caused the wrong configuration choose.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 11 Nov 2004 00:00:00 +0300 |
parents | f0b350454894 |
children | 7ca9bdc82b3f |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_INET_H_INCLUDED_ #define _NGX_INET_H_INCLUDED_ typedef struct { in_addr_t addr; in_addr_t mask; } ngx_inet_cidr_t; size_t ngx_sock_ntop(int family, struct sockaddr *addr, u_char *text, size_t len); size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr); #endif /* _NGX_INET_H_INCLUDED_ */