Mercurial > hg > nginx-vendor-1-0
diff src/core/ngx_parse.h @ 0:f0b350454894 NGINX_0_1_0
nginx 0.1.0
*) The first public version.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Oct 2004 00:00:00 +0400 |
parents | |
children | 408f195b3482 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/core/ngx_parse.h @@ -0,0 +1,22 @@ + +/* + * Copyright (C) Igor Sysoev + */ + + +#ifndef _NGX_PARSE_H_INCLUDED_ +#define _NGX_PARSE_H_INCLUDED_ + + +#include <ngx_config.h> +#include <ngx_core.h> + + +#define NGX_PARSE_LARGE_TIME -2 + + +ngx_int_t ngx_parse_size(ngx_str_t *line); +ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_int_t sec); + + +#endif /* _NGX_PARSE_H_INCLUDED_ */