Mercurial > hg > nginx-quic
view src/core/ngx_array.h @ 4:c5f071d376e5
nginx-0.0.1-2002-08-22-19:24:03 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 Aug 2002 15:24:03 +0000 |
parents | 4eff17414a43 |
children | 0e81ac0bb3e2 |
line wrap: on
line source
#ifndef _NGX_ARRAY_H_INCLUDED_ #define _NGX_ARRAY_H_INCLUDED_ #include <ngx_config.h> #include <ngx_alloc.h> typedef struct { char *elts; int nelts; size_t size; int nalloc; ngx_pool_t *pool; } ngx_array_t; ngx_array_t *ngx_create_array(ngx_pool_t *p, int n, size_t size); void ngx_destroy_array(ngx_array_t *a); void *ngx_push_array(ngx_array_t *a); #endif /* _NGX_ARRAY_H_INCLUDED_ */