comparison src/core/ngx_table.h @ 0:f0b350454894 NGINX_0_1_0

nginx 0.1.0 *) The first public version.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Oct 2004 00:00:00 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0b350454894
1
2 /*
3 * Copyright (C) Igor Sysoev
4 */
5
6
7 #ifndef _NGX_TABLE_H_INCLUDED_
8 #define _NGX_TABLE_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13
14
15 typedef ngx_array_t ngx_table_t;
16
17 typedef struct {
18 ngx_str_t key;
19 ngx_str_t value;
20 } ngx_table_elt_t;
21
22
23 #define ngx_create_table(p, n) ngx_create_array(p, n, 2 * sizeof(ngx_str_t))
24 #define ngx_push_table(t) ngx_push_array(t)
25
26
27 #endif /* _NGX_TABLE_H_INCLUDED_ */