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> 
  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.
struct bt_connection bt_connection
Connection.
Definition types.h:47
struct bt_port_output bt_port_output
Output port.
Definition types.h:81
struct bt_port_input bt_port_input
Input port.
Definition types.h:80