mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
git-subtree-dir: src/deps/src/lua-nginx-module git-subtree-split: c47084b5d719ce507d2419d8660f39544a9d1fea
23 lines
538 B
C
23 lines
538 B
C
|
|
/*
|
|
* Copyright (C) Xiaozhe Wang (chaoslawful)
|
|
* Copyright (C) Yichun Zhang (agentzh)
|
|
*/
|
|
|
|
|
|
#ifndef _NGX_HTTP_LUA_COROUTINE_H_INCLUDED_
|
|
#define _NGX_HTTP_LUA_COROUTINE_H_INCLUDED_
|
|
|
|
|
|
#include "ngx_http_lua_common.h"
|
|
|
|
|
|
void ngx_http_lua_inject_coroutine_api(ngx_log_t *log, lua_State *L);
|
|
|
|
int ngx_http_lua_coroutine_create_helper(lua_State *L, ngx_http_request_t *r,
|
|
ngx_http_lua_ctx_t *ctx, ngx_http_lua_co_ctx_t **pcoctx, int *co_ref);
|
|
|
|
|
|
#endif /* _NGX_HTTP_LUA_COROUTINE_H_INCLUDED_ */
|
|
|
|
/* vi:set ft=c ts=4 sw=4 et fdm=marker: */
|