lib: remove unused _NO_SINK graph status
[babeltrace.git] / include / babeltrace / graph / connection-internal.h
index 98222c04316a55b2949e892b5084849b8c335570..2c9b9d0dfc40be014a7210001b45fa62e54b494b 100644 (file)
@@ -2,10 +2,9 @@
 #define BABELTRACE_GRAPH_CONNECTION_INTERNAL_H
 
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
@@ -25,9 +24,9 @@
  * SOFTWARE.
  */
 
-#include <babeltrace/graph/connection.h>
-#include <babeltrace/graph/notification-iterator.h>
-#include <babeltrace/graph/notification-iterator-internal.h>
+#include <babeltrace/graph/connection-const.h>
+#include <babeltrace/graph/message-iterator-const.h>
+#include <babeltrace/graph/message-iterator-internal.h>
 #include <babeltrace/object-internal.h>
 #include <babeltrace/assert-internal.h>
 #include <stdbool.h>
@@ -51,17 +50,14 @@ struct bt_connection {
        struct bt_port *upstream_port;
 
        /*
-        * Weak references to all the notification iterators that were
+        * Weak references to all the message iterators that were
         * created on this connection.
         */
        GPtrArray *iterators;
 
        bool notified_upstream_port_connected;
-       bool notified_upstream_port_disconnected;
        bool notified_downstream_port_connected;
-       bool notified_downstream_port_disconnected;
        bool notified_graph_ports_connected;
-       bool notified_graph_ports_disconnected;
 };
 
 BT_HIDDEN
@@ -74,7 +70,7 @@ 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_notification_iterator *iterator);
+               struct bt_self_component_port_input_message_iterator *iterator);
 
 static inline
 struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
This page took 0.025729 seconds and 4 git commands to generate.