Document libbabeltrace2's C API
[babeltrace.git] / src / lib / graph / connection.h
index e6190fa5a500697331084db4a76b018d90949457..1d89c9930ca9365a8143415123e3d7daa55c14ff 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace2/graph/connection-const.h>
-#include <babeltrace2/graph/message-iterator-const.h>
+#include <babeltrace2/graph/connection.h>
 #include "lib/object.h"
 #include "common/assert.h"
+#include "common/macros.h"
 #include <stdbool.h>
 
 #include "message/iterator.h"
@@ -71,12 +71,12 @@ void bt_connection_end(struct bt_connection *conn, bool try_remove_from_graph);
 
 BT_HIDDEN
 void bt_connection_remove_iterator(struct bt_connection *conn,
-               struct bt_self_component_port_input_message_iterator *iterator);
+               struct bt_message_iterator *iterator);
 
 static inline
 struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
 {
-       BT_ASSERT(conn);
+       BT_ASSERT_DBG(conn);
        return (void *) conn->base.parent;
 }
 
This page took 0.024249 seconds and 4 git commands to generate.