mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Update master to 2.7.3
This commit is contained in:
12
nginx/modsecurity/ngx_pool_context.h
Normal file
12
nginx/modsecurity/ngx_pool_context.h
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
#ifndef _NGX_POOL_CONTEXT_H_INCLUDE_
|
||||
#define _NGX_POOL_CONTEXT_H_INCLUDE_
|
||||
|
||||
void* ngx_pool_get_ctx(ngx_pool_t * pool, ngx_uint_t index);
|
||||
ngx_int_t ngx_pool_set_ctx(ngx_pool_t * pool, ngx_uint_t index,void * data);
|
||||
|
||||
#define ngx_http_get_module_pool_ctx(r, module) ngx_pool_get_ctx(r->pool, module.index)
|
||||
#define ngx_http_set_pool_ctx(r, c, module) ngx_pool_set_ctx(r->pool, module.index, c)
|
||||
|
||||
#endif /* _NGX_POOL_CONTEXT_H_INCLUDE_ */
|
Reference in New Issue
Block a user