projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow a component to remove a port and any user to disconnect one
[babeltrace.git]
/
include
/
babeltrace
/
component
/
port-internal.h
diff --git
a/include/babeltrace/component/port-internal.h
b/include/babeltrace/component/port-internal.h
index 437ba827c02d532be4afd89ee2ec36663c7b5c10..f693b2de2e90f766e5854976a3ee86cd1ade4985 100644
(file)
--- a/
include/babeltrace/component/port-internal.h
+++ b/
include/babeltrace/component/port-internal.h
@@
-37,8
+37,7
@@
struct bt_port {
struct bt_object base;
enum bt_port_type type;
GString *name;
struct bt_object base;
enum bt_port_type type;
GString *name;
- GPtrArray *connections;
- uint64_t max_connection_count;
+ struct bt_connection *connection;
};
BT_HIDDEN
};
BT_HIDDEN
@@
-46,7
+45,7
@@
struct bt_port *bt_port_create(struct bt_component *parent_component,
enum bt_port_type type, const char *name);
BT_HIDDEN
enum bt_port_type type, const char *name);
BT_HIDDEN
-
int bt_port_add
_connection(struct bt_port *port,
+
void bt_port_set
_connection(struct bt_port *port,
struct bt_connection *connection);
#ifdef __cplusplus
struct bt_connection *connection);
#ifdef __cplusplus
This page took
0.023357 seconds
and
4
git commands to generate.