lib: graph: add "self" and some "private" APIs
[babeltrace.git] / plugins / utils / dummy / dummy.h
index 2fcf34be97651b809a4e135921f4f7ff4d6aaa31..ffbeb5b746c56c0ffd132499753d1c135ca8eecd 100644 (file)
  * SOFTWARE.
  */
 
-enum bt_component_status dummy_consume(struct bt_component *component);
+#include <glib.h>
+#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
+#include <stdbool.h>
+
+struct dummy {
+       struct bt_self_component_port_input_notification_iterator *notif_iter;
+};
+
+BT_HIDDEN
+enum bt_self_component_status dummy_init(
+               struct bt_self_component_sink *component,
+               struct bt_value *params, void *init_method_data);
+
+BT_HIDDEN
+void dummy_finalize(struct bt_self_component_sink *component);
+
+BT_HIDDEN
+enum bt_self_component_status dummy_port_connected(
+               struct bt_self_component_sink *comp,
+               struct bt_self_component_port_input *self_port,
+               struct bt_port_output *other_port);
+
+BT_HIDDEN
+enum bt_self_component_status dummy_consume(
+               struct bt_self_component_sink *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */
This page took 0.023934 seconds and 4 git commands to generate.