1#ifndef BABELTRACE2_GRAPH_CONNECTION_H
2#define BABELTRACE2_GRAPH_CONNECTION_H
26#ifndef __BT_IN_BABELTRACE_H
27# error "Please include <babeltrace2/babeltrace.h> instead."
30#include <babeltrace2/types.h>
91 const bt_connection *connection);
107 const bt_connection *connection);
164#define BT_CONNECTION_PUT_REF_AND_RESET(_connection) \
166 bt_connection_put_ref(_connection); \
167 (_connection) = NULL; \
195#define BT_CONNECTION_MOVE_REF(_dst, _src) \
197 bt_connection_put_ref(_dst); \
const bt_port_output * bt_connection_borrow_upstream_port_const(const bt_connection *connection)
Borrows the downstream output port of the connection connection.
void bt_connection_put_ref(const bt_connection *connection)
Decrements the reference count of the connection connection.
void bt_connection_get_ref(const bt_connection *connection)
Increments the reference count of the connection connection.
const bt_port_input * bt_connection_borrow_downstream_port_const(const bt_connection *connection)
Borrows the upstream input port of the connection connection.