projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
component-source-const.h
diff --git
a/include/babeltrace/graph/component-source-const.h
b/include/babeltrace/graph/component-source-const.h
index 628f22dbf77b98a47d70ca2815e1a31c7ecd6f39..8604359abe048efb72e46f95f6b218a021a6fbe4 100644
(file)
--- 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,
/*
* For bt_component, bt_component_filter, bt_port_output,
- * __BT_UPCAST_CONST
+ * __BT_UPCAST_CONST
, bt_component_class_source
*/
#include <babeltrace/types.h>
*/
#include <babeltrace/types.h>
@@
-43,6
+43,10
@@
const bt_component *bt_component_source_as_component_const(
return __BT_UPCAST_CONST(bt_component, component);
}
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);
extern uint64_t bt_component_source_get_output_port_count(
const bt_component_source *component);
This page took
0.024291 seconds
and
4
git commands to generate.