Mercurial > hg > nginx
view src/os/unix/ngx_user.h @ 4038:30519bb5621d stable-1.0
Merge of r3966, r3967, r3968, r3969, r3970, r3971:
Cache loader improvements:
The cache loader performs two tasks: inserting cache objects in inactivity
list and evaluating total cache size. Reading just directory is enough for
this purpose. Elimination of reading cache files saves at least one disk I/O
operation per file.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 29 Aug 2011 09:51:56 +0000 |
parents | 9c057d5e1c27 |
children | d620f497c50f |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_USER_H_INCLUDED_ #define _NGX_USER_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> typedef uid_t ngx_uid_t; typedef gid_t ngx_gid_t; ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted); #endif /* _NGX_USER_H_INCLUDED_ */