#include <babeltrace2/graph/graph.h>
#include <babeltrace2/graph/message.h>
-#include "common/macros.h"
#include "lib/object.h"
#include "lib/object-pool.h"
#include "common/assert.h"
-#include "common/common.h"
#include <stdbool.h>
-#include <stdlib.h>
#include <glib.h>
#include "component.h"
#include "component-sink.h"
#include "connection.h"
-#include "lib/func-status.h"
/* Protection: this file uses BT_LIB_LOG*() macros directly */
#ifndef BT_LIB_LOG_SUPPORTED
# error Please include "lib/logging.h" before including this file.
#endif
-/*
- * Protection: this file uses precondition and postcondition assertion
- * macros directly.
- */
-#ifndef BT_ASSERT_COND_SUPPORTED
-# error Please include "lib/assert-cond.h" before including this file.
-#endif
-
struct bt_component;
struct bt_port;
*
* In terms of ownership:
* 1) The graph is the components' parent,
- * 2) The graph is the connnections' parent,
+ * 2) The graph is the connections' parent,
* 3) Components share the ownership of their connections,
* 4) A connection holds weak references to its two component endpoints.
*/