lib: create input port msg iterator from self {msg iterator, sink comp.}
[babeltrace.git] / include / babeltrace2 / graph / self-component-port-input-message-iterator.h
index 22f7087631d38c508e47cf66880069261867c0a5..d4ad8b5966d2d334f2c4bf5179617246837009e5 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE2_GRAPH_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_H
 
 /*
- * Copyright 2017-2018 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_message_iterator_*_status */
 #include <babeltrace2/graph/message-iterator.h>
-
-/*
- * For bt_component, bt_message_iterator,
- * bt_self_component_port_input_message_iterator,
- * bt_self_component_port_input, bt_message_array_const, bt_bool,
- * __BT_UPCAST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -49,7 +45,13 @@ bt_self_component_port_input_message_iterator_as_message_iterator(
 }
 
 extern bt_self_component_port_input_message_iterator *
-bt_self_component_port_input_message_iterator_create(
+bt_self_component_port_input_message_iterator_create_from_message_iterator(
+               bt_self_message_iterator *self_msg_iter,
+               bt_self_component_port_input *input_port);
+
+extern bt_self_component_port_input_message_iterator *
+bt_self_component_port_input_message_iterator_create_from_sink_component(
+               bt_self_component_sink *self_comp,
                bt_self_component_port_input *input_port);
 
 extern bt_component *
This page took 0.027352 seconds and 4 git commands to generate.