projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document libbabeltrace2's C API
[babeltrace.git]
/
src
/
lib
/
graph
/
component.h
diff --git
a/src/lib/graph/component.h
b/src/lib/graph/component.h
index 169d1a46ed0aef8c370d4689135eaa4b5b3265c6..0925d5f265140321c200c17724e68a87c7b14029 100644
(file)
--- a/
src/lib/graph/component.h
+++ b/
src/lib/graph/component.h
@@
-25,12
+25,14
@@
*/
#include "common/macros.h"
*/
#include "common/macros.h"
-#include <babeltrace2/graph/component-const.h>
+#include <babeltrace2/graph/component.h>
+#include <babeltrace2/graph/component-class.h>
#include "lib/object.h"
#include <babeltrace2/types.h>
#include <babeltrace2/logging.h>
#include "common/assert.h"
#include <glib.h>
#include "lib/object.h"
#include <babeltrace2/types.h>
#include <babeltrace2/logging.h>
#include "common/assert.h"
#include <glib.h>
+#include <stdbool.h>
#include <stdio.h>
#include "component-class.h"
#include <stdio.h>
#include "component-class.h"
@@
-74,7
+76,7
@@
struct bt_component {
static inline
struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
{
static inline
struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
{
- BT_ASSERT(comp);
+ BT_ASSERT
_DBG
(comp);
return (void *) bt_object_borrow_parent(&comp->base);
}
return (void *) bt_object_borrow_parent(&comp->base);
}
@@
-84,7
+86,8
@@
int bt_component_create(struct bt_component_class *component_class,
struct bt_component **component);
BT_HIDDEN
struct bt_component **component);
BT_HIDDEN
-enum bt_self_component_status bt_component_port_connected(
+enum bt_component_class_port_connected_method_status
+bt_component_port_connected(
struct bt_component *comp,
struct bt_port *self_port, struct bt_port *other_port);
struct bt_component *comp,
struct bt_port *self_port, struct bt_port *other_port);
@@
-115,12
+118,12
@@
struct bt_port_output *bt_component_borrow_output_port_by_name(
struct bt_component *comp, const char *name);
BT_HIDDEN
struct bt_component *comp, const char *name);
BT_HIDDEN
-enum bt_self_component_status bt_component_add_input_port(
+enum bt_self_component_
add_port_
status bt_component_add_input_port(
struct bt_component *component, const char *name,
void *user_data, struct bt_port **port);
BT_HIDDEN
struct bt_component *component, const char *name,
void *user_data, struct bt_port **port);
BT_HIDDEN
-enum bt_self_component_status bt_component_add_output_port(
+enum bt_self_component_
add_port_
status bt_component_add_output_port(
struct bt_component *component, const char *name,
void *user_data, struct bt_port **port);
struct bt_component *component, const char *name,
void *user_data, struct bt_port **port);
This page took
0.035083 seconds
and
4
git commands to generate.