Mercurial > hg > nginx-vendor-current
diff src/os/unix/ngx_types.h @ 0:f0b350454894 NGINX_0_1_0
nginx 0.1.0
*) The first public version.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Oct 2004 00:00:00 +0400 |
parents | |
children | 80ba094c6b3e |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/os/unix/ngx_types.h @@ -0,0 +1,26 @@ + +/* + * 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; + unsigned info_valid; +} ngx_dir_t; + + +#endif /* _NGX_TYPES_H_INCLUDED_ */