lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git] / include / babeltrace / graph / self-message-iterator.h
index 90143e30728fd077e1870837c3c6a05d7486757b..555a75387a625a775ee62a3df7e7c31f654a0a43 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 /* For BT_MESSAGE_ITERATOR_STATUS_* */
-#include <babeltrace/graph/message-iterator.h>
+#include <babeltrace/graph/message-iterator-const.h>
 
 /* For bt_self_component, bt_self_message_iterator, bt_self_port_output */
 #include <babeltrace/types.h>
 extern "C" {
 #endif
 
-enum bt_self_message_iterator_status {
+typedef enum bt_self_message_iterator_status {
        BT_SELF_MESSAGE_ITERATOR_STATUS_OK = BT_MESSAGE_ITERATOR_STATUS_OK,
        BT_SELF_MESSAGE_ITERATOR_STATUS_END = BT_MESSAGE_ITERATOR_STATUS_END,
        BT_SELF_MESSAGE_ITERATOR_STATUS_AGAIN = BT_MESSAGE_ITERATOR_STATUS_AGAIN,
        BT_SELF_MESSAGE_ITERATOR_STATUS_ERROR = BT_MESSAGE_ITERATOR_STATUS_ERROR,
        BT_SELF_MESSAGE_ITERATOR_STATUS_NOMEM = BT_MESSAGE_ITERATOR_STATUS_NOMEM,
-};
+} bt_self_message_iterator_status;
 
 extern bt_self_component *
 bt_self_message_iterator_borrow_component(
This page took 0.024187 seconds and 4 git commands to generate.