Mercurial > hg > nginx-quic
view src/os/unix/ngx_types.h @ 1944:be6c9033a798
speed up ngx_http_charset_recode() for 25%: google-perftools reported
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 16 Mar 2008 16:52:15 +0000 |
parents | ded1284520cc |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_TYPES_H_INCLUDED_ #define _NGX_TYPES_H_INCLUDED_ #include <ngx_config.h> typedef int ngx_fd_t; typedef struct stat ngx_file_info_t; typedef ino_t ngx_file_uniq_t; typedef struct { DIR *dir; struct dirent *de; struct stat info; ngx_uint_t valid_info:1; /* unsigned valid_info:1; */ } ngx_dir_t; #endif /* _NGX_TYPES_H_INCLUDED_ */