2004-09-28 16:34:51 +08:00
|
|
|
|
|
|
|
/*
|
2004-09-30 00:00:49 +08:00
|
|
|
* Copyright (C) Igor Sysoev
|
2004-09-28 16:34:51 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2003-10-23 23:54:19 +08:00
|
|
|
#ifndef _NGX_PARSE_H_INCLUDED_
|
|
|
|
#define _NGX_PARSE_H_INCLUDED_
|
|
|
|
|
|
|
|
|
|
|
|
#include <ngx_config.h>
|
|
|
|
#include <ngx_core.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define NGX_PARSE_LARGE_TIME -2
|
|
|
|
|
|
|
|
|
2005-10-19 20:33:58 +08:00
|
|
|
ssize_t ngx_parse_size(ngx_str_t *line);
|
2006-07-08 00:33:19 +08:00
|
|
|
off_t ngx_parse_offset(ngx_str_t *line);
|
2008-04-17 22:23:20 +08:00
|
|
|
ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_uint_t sec);
|
2003-10-23 23:54:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* _NGX_PARSE_H_INCLUDED_ */
|