view src/core/ngx_parse.h @ 575:fcd6fc7ff7f9 release-0.3.9

nginx-0.3.9-RELEASE import *) Bugfix: nginx considered URI as unsafe if two any symbols was between two slashes; the bug had appeared in 0.3.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 10 Nov 2005 07:44:53 +0000
parents 9c2f3ed7a247
children 6d5c1535bb9d
line wrap: on
line source


/*
 * 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


ssize_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_ */