Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / self-component-filter.h
index 7d646b5af0560d3050f64e42bbe05ef5e28e864f..ec49b6f95e49662eb8174bce0c5bd317750d4ec6 100644 (file)
@@ -1,9 +1,8 @@
-#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>
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/* For bt_self_component_status */
 #include <babeltrace2/graph/self-component.h>
-
-/*
- * For bt_component_filter, bt_self_component, bt_self_component_filter,
- * bt_self_component_port_input, bt_self_component_port_output,
- * __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -65,7 +61,7 @@ bt_self_component_filter_borrow_output_port_by_index(
                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,
@@ -81,7 +77,7 @@ bt_self_component_filter_borrow_input_port_by_index(
                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,
@@ -91,4 +87,4 @@ bt_self_component_filter_add_input_port(
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_FILTER_H */
+#endif /* BABELTRACE2_GRAPH_SELF_COMPONENT_FILTER_H */
This page took 0.025449 seconds and 4 git commands to generate.