comparison src/core/ngx_cycle.h @ 993:1b9a4d92173f

pass the inherited shm_zone data
author Igor Sysoev <igor@sysoev.ru>
date Tue, 09 Jan 2007 15:59:20 +0000
parents 6e7a20529f53
children e6fc18f1a032
comparison
equal deleted inserted replaced
992:3f2e60adf4ef 993:1b9a4d92173f
21 #define NGX_DEBUG_POINTS_ABORT 2 21 #define NGX_DEBUG_POINTS_ABORT 2
22 22
23 23
24 typedef struct ngx_shm_zone_s ngx_shm_zone_t; 24 typedef struct ngx_shm_zone_s ngx_shm_zone_t;
25 25
26 typedef ngx_int_t (*ngx_shm_zone_init_pt) (ngx_shm_zone_t *zone); 26 typedef ngx_int_t (*ngx_shm_zone_init_pt) (ngx_shm_zone_t *zone, void *data);
27 27
28 struct ngx_shm_zone_s { 28 struct ngx_shm_zone_s {
29 void *data; 29 void *data;
30 ngx_shm_t shm; 30 ngx_shm_t shm;
31 ngx_shm_zone_init_pt init; 31 ngx_shm_zone_init_pt init;