+enum bt_component_class_status
+bt_component_class_sink_set_graph_is_configured_method(
+ struct bt_component_class_sink *comp_cls,
+ bt_component_class_sink_graph_is_configured_method method)
+{
+ BT_ASSERT_PRE_NON_NULL(comp_cls, "Component class");
+ BT_ASSERT_PRE_NON_NULL(method, "Method");
+ BT_ASSERT_PRE_COMP_CLS_HOT(comp_cls);
+ comp_cls->methods.graph_is_configured = method;
+ BT_LIB_LOGV("Set sink component class's \"graph is configured\" method"
+ ": %!+C", comp_cls);
+ return BT_COMPONENT_CLASS_STATUS_OK;
+}
+