Mercurial > hg > nginx-vendor-0-8
annotate src/os/unix/ngx_shmem.h @ 598:be70f83b184f NGINX_0_8_51
nginx 0.8.51
*) Change: the "secure_link_expires" directive has been canceled.
*) Change: a logging level of resolver errors has been lowered from
"alert" to "error".
*) Feature: now a listen socket "ssl" parameter may be set several
times.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 27 Sep 2010 00:00:00 +0400 |
parents | 549994537f15 |
children |
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_ */ |