X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fconnection-internal.h;h=2c9b9d0dfc40be014a7210001b45fa62e54b494b;hb=efd923e5742993cedafc1eeeb04cfad4ddf5cc8d;hp=98222c04316a55b2949e892b5084849b8c335570;hpb=834e9996a9d02f0cec468cb103ab2a573b7317b1;p=babeltrace.git diff --git a/include/babeltrace/graph/connection-internal.h b/include/babeltrace/graph/connection-internal.h index 98222c04..2c9b9d0d 100644 --- a/include/babeltrace/graph/connection-internal.h +++ b/include/babeltrace/graph/connection-internal.h @@ -2,10 +2,9 @@ #define BABELTRACE_GRAPH_CONNECTION_INTERNAL_H /* + * Copyright 2017-2018 Philippe Proulx * Copyright 2017 Jérémie Galarneau * - * Author: Jérémie Galarneau - * * 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 -#include -#include +#include +#include +#include #include #include #include @@ -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)