| 337 | } |
| 338 | |
| 339 | static void |
| 340 | ts_lua_inject_server_state_variables(lua_State *L) |
| 341 | { |
| 342 | size_t i; |
| 343 | |
| 344 | for (i = 0; i < sizeof(ts_lua_server_state_string) / sizeof(char *); i++) { |
| 345 | lua_pushinteger(L, (lua_Integer)i); |
| 346 | lua_setglobal(L, ts_lua_server_state_string[i]); |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | static int |
| 351 | ts_lua_http_set_retstatus(lua_State *L) |
no outgoing calls
no test coverage detected