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-source.h
diff --git
a/include/babeltrace/graph/self-component-source.h
b/include/babeltrace/graph/self-component-source.h
index b9f148b5de97794356fd6566a6f4f995cae37648..ed2676e7e60fcb9264679e7e9d59ec7d6d8a8c72 100644
(file)
--- a/
include/babeltrace/graph/self-component-source.h
+++ b/
include/babeltrace/graph/self-component-source.h
@@
-28,45
+28,46
@@
/* For enum bt_self_component_status */
#include <babeltrace/graph/self-component.h>
/* For enum bt_self_component_status */
#include <babeltrace/graph/self-component.h>
+/*
+ * For bt_component_source, bt_self_component, bt_self_component_source,
+ * bt_self_component_port_output
+ */
+#include <babeltrace/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_component_source;
-struct bt_self_component;
-struct bt_self_component_source;
-struct bt_self_component_port_output;
-
static inline
static inline
-
struct
bt_self_component *bt_self_component_source_as_self_component(
-
struct
bt_self_component_source *self_comp_source)
+bt_self_component *bt_self_component_source_as_self_component(
+ bt_self_component_source *self_comp_source)
{
return (void *) self_comp_source;
}
static inline
{
return (void *) self_comp_source;
}
static inline
-const
struct
bt_component_source *
+const bt_component_source *
bt_self_component_source_as_component_source(
bt_self_component_source_as_component_source(
-
struct
bt_self_component_source *self_comp_source)
+ bt_self_component_source *self_comp_source)
{
return (const void *) self_comp_source;
}
{
return (const void *) self_comp_source;
}
-extern
struct
bt_self_component_port_output *
+extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_name(
bt_self_component_source_borrow_output_port_by_name(
-
struct
bt_self_component_source *self_component,
+ bt_self_component_source *self_component,
const char *name);
const char *name);
-extern
struct
bt_self_component_port_output *
+extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_index(
bt_self_component_source_borrow_output_port_by_index(
-
struct
bt_self_component_source *self_component,
+ bt_self_component_source *self_component,
uint64_t index);
extern enum bt_self_component_status
bt_self_component_source_add_output_port(
uint64_t index);
extern enum bt_self_component_status
bt_self_component_source_add_output_port(
-
struct
bt_self_component_source *self_component,
+ bt_self_component_source *self_component,
const char *name, void *user_data,
const char *name, void *user_data,
-
struct
bt_self_component_port_output **self_component_port);
+ bt_self_component_port_output **self_component_port);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.041001 seconds
and
4
git commands to generate.