Mercurial > hg > nginx
diff src/core/ngx_file.h @ 74:17ab1af8c3dd
nginx-0.0.1-2003-04-11-20:01:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 11 Apr 2003 16:01:14 +0000 |
parents | e8cdc2989cee |
children | a7e45c45a95c |
line wrap: on
line diff
--- a/src/core/ngx_file.h +++ b/src/core/ngx_file.h @@ -4,6 +4,7 @@ #include <ngx_file.h> #include <ngx_log.h> +#include <ngx_alloc.h> #include <ngx_string.h> typedef struct ngx_file_s ngx_file_t; @@ -21,4 +22,18 @@ struct ngx_file_s { }; +typedef struct { + ngx_str_t name; + int len; + int level[3]; +} ngx_path_t; + + +int ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, + ngx_pool_t *pool, int num, int step, int persistent); +void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); +int ngx_create_path(ngx_file_t *file, ngx_path_t *path); + + + #endif /* _NGX_FILE_H_INCLUDED_ */