lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git] / include / babeltrace / graph / component-filter-const.h
index 546761e375d5e0af1cb872afe21682714fda1b6c..545691cde73f0fcef3d2de3ad95bc2f60c492f6a 100644 (file)
@@ -28,7 +28,7 @@
 
 /*
  * For bt_component, bt_component_filter, bt_port_input, bt_port_output,
- * __BT_UPCAST_CONST
+ * __BT_UPCAST_CONST, bt_component_class_filter
  */
 #include <babeltrace/types.h>
 
@@ -43,6 +43,10 @@ const bt_component *bt_component_filter_as_component_const(
        return __BT_UPCAST_CONST(bt_component, component);
 }
 
+extern const bt_component_class_filter *
+bt_component_filter_borrow_class_const(
+               const bt_component_filter *component);
+
 extern uint64_t bt_component_filter_get_input_port_count(
                const bt_component_filter *component);
 
This page took 0.023296 seconds and 4 git commands to generate.