X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component.h;h=c11d8e456e8230646125e05898c2af05ded0bc90;hb=ee78f40548361d64c63956ee4d714a69651bd42c;hp=3461eace7af5433e84ab6c2cb5b4a1d4ad5cce88;hpb=c87507697361a8fc914110c514b25e1376bae90f;p=babeltrace.git diff --git a/include/babeltrace/graph/self-component.h b/include/babeltrace/graph/self-component.h index 3461eace..c11d8e45 100644 --- a/include/babeltrace/graph/self-component.h +++ b/include/babeltrace/graph/self-component.h @@ -30,14 +30,14 @@ extern "C" { #endif -enum bt_self_component_status { +typedef enum bt_self_component_status { BT_SELF_COMPONENT_STATUS_OK = 0, BT_SELF_COMPONENT_STATUS_END = 1, BT_SELF_COMPONENT_STATUS_AGAIN = 11, BT_SELF_COMPONENT_STATUS_REFUSE_PORT_CONNECTION = 111, BT_SELF_COMPONENT_STATUS_ERROR = -1, BT_SELF_COMPONENT_STATUS_NOMEM = -12, -}; +} bt_self_component_status; static inline const bt_component *bt_self_component_as_component(