| 160 | } |
| 161 | |
| 162 | static void |
| 163 | ts_lua_inject_http_cache_api(lua_State *L) |
| 164 | { |
| 165 | lua_pushcfunction(L, ts_lua_http_get_cache_lookup_status); |
| 166 | lua_setfield(L, -2, "get_cache_lookup_status"); |
| 167 | |
| 168 | lua_pushcfunction(L, ts_lua_http_set_cache_lookup_status); |
| 169 | lua_setfield(L, -2, "set_cache_lookup_status"); |
| 170 | |
| 171 | lua_pushcfunction(L, ts_lua_http_set_cache_url); |
| 172 | lua_setfield(L, -2, "set_cache_url"); |
| 173 | |
| 174 | lua_pushcfunction(L, ts_lua_http_get_cache_lookup_url); |
| 175 | lua_setfield(L, -2, "get_cache_lookup_url"); |
| 176 | |
| 177 | lua_pushcfunction(L, ts_lua_http_set_cache_lookup_url); |
| 178 | lua_setfield(L, -2, "set_cache_lookup_url"); |
| 179 | |
| 180 | lua_pushcfunction(L, ts_lua_http_redo_cache_lookup); |
| 181 | lua_setfield(L, -2, "redo_cache_lookup"); |
| 182 | |
| 183 | lua_pushcfunction(L, ts_lua_http_get_parent_proxy); |
| 184 | lua_setfield(L, -2, "get_parent_proxy"); |
| 185 | |
| 186 | lua_pushcfunction(L, ts_lua_http_set_parent_proxy); |
| 187 | lua_setfield(L, -2, "set_parent_proxy"); |
| 188 | |
| 189 | lua_pushcfunction(L, ts_lua_http_get_parent_selection_url); |
| 190 | lua_setfield(L, -2, "get_parent_selection_url"); |
| 191 | |
| 192 | lua_pushcfunction(L, ts_lua_http_set_parent_selection_url); |
| 193 | lua_setfield(L, -2, "set_parent_selection_url"); |
| 194 | |
| 195 | lua_pushcfunction(L, ts_lua_http_set_server_resp_no_store); |
| 196 | lua_setfield(L, -2, "set_server_resp_no_store"); |
| 197 | |
| 198 | ts_lua_inject_cache_lookup_result_variables(L); |
| 199 | } |
| 200 | |
| 201 | static void |
| 202 | ts_lua_inject_http_transform_api(lua_State *L) |
no test coverage detected