| 1906 | } |
| 1907 | |
| 1908 | static void |
| 1909 | plugin_config(struct plugin *plugin) |
| 1910 | { |
| 1911 | struct jsonrpc_request *req; |
| 1912 | |
| 1913 | plugin_set_timeout(plugin); |
| 1914 | req = jsonrpc_request_start(plugin, "init", NULL, plugin->log, |
| 1915 | NULL, plugin_config_cb, plugin); |
| 1916 | plugin_populate_init_request(plugin, req); |
| 1917 | jsonrpc_request_end(req); |
| 1918 | plugin_request_send(plugin, req); |
| 1919 | plugin->plugin_state = AWAITING_INIT_RESPONSE; |
| 1920 | } |
| 1921 | |
| 1922 | void plugins_config(struct plugins *plugins) |
| 1923 | { |
no test coverage detected