| 2005 | } |
| 2006 | |
| 2007 | void json_add_opt_disable_plugins(struct json_stream *response, |
| 2008 | const struct plugins *plugins) |
| 2009 | { |
| 2010 | json_array_start(response, "disable-plugin"); |
| 2011 | for (size_t i = 0; i < tal_count(plugins->blacklist); i++) |
| 2012 | json_add_string(response, NULL, plugins->blacklist[i]); |
| 2013 | json_array_end(response); |
| 2014 | } |
| 2015 | |
| 2016 | /** |
| 2017 | * Determine whether a plugin is subscribed to a given topic/method. |
no test coverage detected