Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_shmem.h @ 638:f5a8cf31a203 NGINX_1_1_3
nginx 1.1.3
*) Feature: the module ngx_http_mp4_module.
*) Bugfix: in Linux AIO combined with open_file_cache.
*) Bugfix: open_file_cache did not update file info on retest if file
was not atomically changed.
*) Bugfix: nginx could not be built on MacOSX 10.7.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 14 Sep 2011 00:00:00 +0400 |
parents | 549994537f15 |
children | d0f7a625f27c |
rev | line source |
---|---|
154 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
236 | 7 #ifndef _NGX_SHMEM_H_INCLUDED_ |
8 #define _NGX_SHMEM_H_INCLUDED_ | |
154 | 9 |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 typedef struct { | |
16 u_char *addr; | |
17 size_t size; | |
480 | 18 ngx_str_t name; |
154 | 19 ngx_log_t *log; |
480 | 20 ngx_uint_t exists; /* unsigned exists:1; */ |
154 | 21 } ngx_shm_t; |
22 | |
23 | |
24 ngx_int_t ngx_shm_alloc(ngx_shm_t *shm); | |
25 void ngx_shm_free(ngx_shm_t *shm); | |
26 | |
27 | |
236 | 28 #endif /* _NGX_SHMEM_H_INCLUDED_ */ |