| * Copyright (C) Yichun Zhang (agentzh) |
| #ifndef _NGX_HTTP_LUA_SHDICT_H_INCLUDED_ |
| #define _NGX_HTTP_LUA_SHDICT_H_INCLUDED_ |
| #include "ngx_http_lua_common.h" |
| } ngx_http_lua_shdict_node_t; |
| ngx_rbtree_node_t sentinel; |
| } ngx_http_lua_shdict_shctx_t; |
| ngx_http_lua_shdict_shctx_t *sh; |
| ngx_http_lua_main_conf_t *main_conf; |
| } ngx_http_lua_shdict_ctx_t; |
| ngx_int_t ngx_http_lua_shdict_init_zone(ngx_shm_zone_t *shm_zone, void *data); |
| void ngx_http_lua_shdict_rbtree_insert_value(ngx_rbtree_node_t *temp, |
| ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel); |
| void ngx_http_lua_inject_shdict_api(ngx_http_lua_main_conf_t *lmcf, |
| #endif /* _NGX_HTTP_LUA_SHDICT_H_INCLUDED_ */ |
| /* vi:set ft=c ts=4 sw=4 et fdm=marker: */ |