tap-driver.sh: flush stdout after each test result
[babeltrace.git] / lib / graph / connection.c
index 965c5eaa050996613544ce7a7f8c540207ac6154..00b3a2a707ec3d4e4387aa8f0f5da9b8ab800853 100644 (file)
  */
 
 #define BT_LOG_TAG "CONNECTION"
-#include <babeltrace/lib-logging-internal.h>
-
-#include <babeltrace/assert-internal.h>
-#include <babeltrace/assert-pre-internal.h>
-#include <babeltrace/graph/message-iterator-internal.h>
-#include <babeltrace/graph/component-internal.h>
-#include <babeltrace/graph/connection-internal.h>
-#include <babeltrace/graph/connection-const.h>
-#include <babeltrace/graph/graph-internal.h>
-#include <babeltrace/graph/port-internal.h>
-#include <babeltrace/object-internal.h>
-#include <babeltrace/compiler-internal.h>
+#include <babeltrace2/lib-logging-internal.h>
+
+#include <babeltrace2/assert-internal.h>
+#include <babeltrace2/assert-pre-internal.h>
+#include <babeltrace2/graph/message-iterator-internal.h>
+#include <babeltrace2/graph/component-internal.h>
+#include <babeltrace2/graph/connection-internal.h>
+#include <babeltrace2/graph/connection-const.h>
+#include <babeltrace2/graph/graph-internal.h>
+#include <babeltrace2/graph/port-internal.h>
+#include <babeltrace2/object-internal.h>
+#include <babeltrace2/compiler-internal.h>
 #include <stdlib.h>
 #include <glib.h>
 
@@ -251,11 +251,6 @@ void bt_connection_remove_iterator(struct bt_connection *conn,
        try_remove_connection_from_graph(conn);
 }
 
-bt_bool bt_connection_is_ended(const struct bt_connection *connection)
-{
-       return !connection->downstream_port && !connection->upstream_port;
-}
-
 void bt_connection_get_ref(const struct bt_connection *connection)
 {
        bt_object_get_ref(connection);
This page took 0.023675 seconds and 4 git commands to generate.