view src/core/ngx_parse.h @ 607:77cdfe394a94 release-0.3.25

nginx-0.3.25-RELEASE import *) Bugfix: the segmentation fault was occurred on start or while reconfiguration if there was invalid configuration; the bug had appeared in 0.3.24.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Feb 2006 20:01:51 +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_ */