projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add aliases for Babeltrace structure types
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
self-component.h
diff --git
a/include/babeltrace/graph/self-component.h
b/include/babeltrace/graph/self-component.h
index a1bc8b49f0e38ffb9742a81293dfd6c974b4811a..3461eace7af5433e84ab6c2cb5b4a1d4ad5cce88 100644
(file)
--- a/
include/babeltrace/graph/self-component.h
+++ b/
include/babeltrace/graph/self-component.h
@@
-23,13
+23,13
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+/* For bt_component, bt_self_component */
+#include <babeltrace/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_component;
-struct bt_self_component;
-
enum bt_self_component_status {
BT_SELF_COMPONENT_STATUS_OK = 0,
BT_SELF_COMPONENT_STATUS_END = 1,
enum bt_self_component_status {
BT_SELF_COMPONENT_STATUS_OK = 0,
BT_SELF_COMPONENT_STATUS_END = 1,
@@
-40,17
+40,17
@@
enum bt_self_component_status {
};
static inline
};
static inline
-const
struct
bt_component *bt_self_component_as_component(
-
struct
bt_self_component *self_component)
+const bt_component *bt_self_component_as_component(
+ bt_self_component *self_component)
{
return (const void *) self_component;
}
extern void *bt_self_component_get_data(
{
return (const void *) self_component;
}
extern void *bt_self_component_get_data(
- const
struct
bt_self_component *private_component);
+ const bt_self_component *private_component);
extern void bt_self_component_set_data(
extern void bt_self_component_set_data(
-
struct
bt_self_component *private_component, void *data);
+ bt_self_component *private_component, void *data);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.02341 seconds
and
4
git commands to generate.