| 2207 | } |
| 2208 | |
| 2209 | static void |
| 2210 | plugin_config(struct plugin *plugin) |
| 2211 | { |
| 2212 | struct jsonrpc_request *req; |
| 2213 | |
| 2214 | plugin_set_timeout(plugin); |
| 2215 | req = jsonrpc_request_start(plugin, "init", NULL, |
| 2216 | plugin->log, NULL, plugin_config_cb, plugin); |
| 2217 | plugin_populate_init_request(plugin, req); |
| 2218 | jsonrpc_request_end(req); |
| 2219 | plugin_request_send(plugin, req); |
| 2220 | plugin->plugin_state = AWAITING_INIT_RESPONSE; |
| 2221 | } |
| 2222 | |
| 2223 | bool plugins_config(struct plugins *plugins) |
| 2224 | { |
no test coverage detected