lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git] / include / babeltrace / graph / component-sink-const.h
index d0bd773d3ff0ddfde0628cb74e3fe0c008a01efb..5ce6798284d8e742ea1a2205b3fced8890245d4a 100644 (file)
@@ -28,7 +28,7 @@
 
 /*
  * For bt_component, bt_component_filter, bt_port_input,
 
 /*
  * For bt_component, bt_component_filter, bt_port_input,
- * __BT_UPCAST_CONST
+ * __BT_UPCAST_CONST, bt_component_class_sink
  */
 #include <babeltrace/types.h>
 
  */
 #include <babeltrace/types.h>
 
@@ -43,6 +43,10 @@ const bt_component *bt_component_sink_as_component_const(
        return __BT_UPCAST_CONST(bt_component, component);
 }
 
        return __BT_UPCAST_CONST(bt_component, component);
 }
 
+extern const bt_component_class_sink *
+bt_component_sink_borrow_class_const(
+               const bt_component_sink *component);
+
 extern uint64_t bt_component_sink_get_input_port_count(
                const bt_component_sink *component);
 
 extern uint64_t bt_component_sink_get_input_port_count(
                const bt_component_sink *component);
 
This page took 0.023198 seconds and 4 git commands to generate.