-#ifndef BABELTRACE_GRAPH_SELF_COMPONENT_FILTER_H
-#define BABELTRACE_GRAPH_SELF_COMPONENT_FILTER_H
+#ifndef BABELTRACE2_GRAPH_SELF_COMPONENT_FILTER_H
+#define BABELTRACE2_GRAPH_SELF_COMPONENT_FILTER_H
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
-/* For bt_self_component_status */
+/* For bt_self_component_*_status */
#include <babeltrace2/graph/self-component.h>
/*
bt_self_component_filter *self_component,
uint64_t index);
-extern bt_self_component_status
+extern bt_self_component_add_port_status
bt_self_component_filter_add_output_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
bt_self_component_filter *self_component,
uint64_t index);
-extern bt_self_component_status
+extern bt_self_component_add_port_status
bt_self_component_filter_add_input_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
}
#endif
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_FILTER_H */
+#endif /* BABELTRACE2_GRAPH_SELF_COMPONENT_FILTER_H */