Document libbabeltrace2's C API
[babeltrace.git] / src / lib / graph / connection.h
index 530dfd9f95d4e9030b2be94e3652b957c0aceb36..1d89c9930ca9365a8143415123e3d7daa55c14ff 100644 (file)
@@ -24,7 +24,7 @@
  * SOFTWARE.
  */
 
-#include <babeltrace2/graph/connection-const.h>
+#include <babeltrace2/graph/connection.h>
 #include "lib/object.h"
 #include "common/assert.h"
 #include "common/macros.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.022795 seconds and 4 git commands to generate.