X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-source-const.h;fp=include%2Fbabeltrace%2Fgraph%2Fcomponent-source-const.h;h=8604359abe048efb72e46f95f6b218a021a6fbe4;hb=906a150c3cc585a5b174c2d61b8bbe68885b8c78;hp=628f22dbf77b98a47d70ca2815e1a31c7ecd6f39;hpb=939a381af471efb5161b447814e8b1cc56251517;p=deliverable%2Fbabeltrace.git diff --git a/include/babeltrace/graph/component-source-const.h b/include/babeltrace/graph/component-source-const.h index 628f22dbf..8604359ab 100644 --- a/include/babeltrace/graph/component-source-const.h +++ b/include/babeltrace/graph/component-source-const.h @@ -28,7 +28,7 @@ /* * For bt_component, bt_component_filter, bt_port_output, - * __BT_UPCAST_CONST + * __BT_UPCAST_CONST, bt_component_class_source */ #include @@ -43,6 +43,10 @@ const bt_component *bt_component_source_as_component_const( return __BT_UPCAST_CONST(bt_component, component); } +extern const bt_component_class_source * +bt_component_source_borrow_class_const( + const bt_component_source *component); + extern uint64_t bt_component_source_get_output_port_count( const bt_component_source *component);