vici: Add 'get|reset-counters' commands

This commit is contained in:
Tobias Brunner
2017-11-08 16:28:28 +01:00
parent 6f74b8748a
commit fdf33b0f1c
4 changed files with 191 additions and 1 deletions
+1
View File
@@ -176,6 +176,7 @@ METHOD(plugin_t, get_features, int,
static plugin_feature_t f[] = {
PLUGIN_CALLBACK((plugin_feature_callback_t)register_vici, NULL),
PLUGIN_PROVIDE(CUSTOM, "vici"),
PLUGIN_SDEPEND(CUSTOM, "counters"),
};
*features = f;
return countof(f);