+static struct bt_value *query_info_method(
+ struct bt_component_class *component_class,
+ const char *action, struct bt_value *params)
+{
+ int ret;
+ struct bt_value *results = bt_value_array_create();
+
+ assert(results);
+ ret = bt_value_array_append_string(results, action);
+ assert(ret == 0);
+ ret = bt_value_array_append(results, params);
+ assert(ret == 0);
+ return results;
+}
+