X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Flib%2Ftest-plugin-plugins%2Fsfs.c;h=a3b7f84b3e16966939b66c8f440b66fd7a941b5c;hb=a67681c1f02f54bc1f708d449bceb35476024083;hp=f86b848b3a5adbc4a613692edc6d529f05572943;hpb=2b4c4a7ca098cb220ebbec83e05b7d1fa238c812;p=babeltrace.git diff --git a/tests/lib/test-plugin-plugins/sfs.c b/tests/lib/test-plugin-plugins/sfs.c index f86b848b..a3b7f84b 100644 --- a/tests/lib/test-plugin-plugins/sfs.c +++ b/tests/lib/test-plugin-plugins/sfs.c @@ -57,15 +57,15 @@ static enum bt_notification_iterator_status dummy_iterator_seek_time_method( return BT_NOTIFICATION_ITERATOR_STATUS_OK; } -static struct bt_value *query_info_method( +static struct bt_value *query_method( struct bt_component_class *component_class, - const char *action, struct bt_value *params) + const char *object, struct bt_value *params) { int ret; struct bt_value *results = bt_value_array_create(); assert(results); - ret = bt_value_array_append_string(results, action); + ret = bt_value_array_append_string(results, object); assert(ret == 0); ret = bt_value_array_append(results, params); assert(ret == 0); @@ -106,4 +106,4 @@ BT_PLUGIN_FILTER_COMPONENT_CLASS_NOTIFICATION_ITERATOR_DESTROY_METHOD(filter, dummy_iterator_destroy_method); BT_PLUGIN_FILTER_COMPONENT_CLASS_NOTIFICATION_ITERATOR_SEEK_TIME_METHOD(filter, dummy_iterator_seek_time_method); -BT_PLUGIN_FILTER_COMPONENT_CLASS_QUERY_INFO_METHOD(filter, query_info_method); +BT_PLUGIN_FILTER_COMPONENT_CLASS_QUERY_METHOD(filter, query_method);