view src/core/ngx_parse.h @ 7445:c9235164bbf1

Win32: enabled both select and poll on Windows by default. Since we now have both select and poll on Windows, it is enough to do not set EVENT_FOUND, auto/modules will enable both automatically.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 24 Jan 2019 22:00:13 +0300
parents 41f640a693de
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGX_PARSE_H_INCLUDED_
#define _NGX_PARSE_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


ssize_t ngx_parse_size(ngx_str_t *line);
off_t ngx_parse_offset(ngx_str_t *line);
ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_uint_t is_sec);


#endif /* _NGX_PARSE_H_INCLUDED_ */