lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / include / babeltrace / trace-ir / field-path-const.h
index 1d80f9399f9f1828708eb9bf710991b3d8a61167..fe5bef6f5c9ebc57d82ba8caad1004da5e0b31b5 100644 (file)
 extern "C" {
 #endif
 
-enum bt_scope {
+typedef enum bt_scope {
        BT_SCOPE_PACKET_HEADER,
        BT_SCOPE_PACKET_CONTEXT,
        BT_SCOPE_EVENT_HEADER,
        BT_SCOPE_EVENT_COMMON_CONTEXT,
        BT_SCOPE_EVENT_SPECIFIC_CONTEXT,
        BT_SCOPE_EVENT_PAYLOAD,
-};
+} bt_scope;
 
-extern enum bt_scope bt_field_path_get_root_scope(
+extern bt_scope bt_field_path_get_root_scope(
                const bt_field_path *field_path);
 
 extern uint64_t bt_field_path_get_index_count(
This page took 0.023651 seconds and 4 git commands to generate.