+ struct bt_private_value *results = bt_private_value_array_create();
+ struct bt_component_class_query_method_return ret = {
+ .status = BT_QUERY_STATUS_OK,
+ .result = bt_value_borrow_from_private(results),
+ };
+ int iret;
+
+ BT_ASSERT(ret.result);
+ iret = bt_private_value_array_append_string_element(results, object);
+ BT_ASSERT(iret == 0);
+ iret = bt_private_value_array_append_element(results, params);
+ BT_ASSERT(iret == 0);
+ return ret;