X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fir%2Ffield-path.c;h=6c0b248af0ce222632a9957834ab8d3cc8f8c4e5;hb=cd7d8fb7b8a599187c9d0e479969c86cf5640397;hp=183a85793ce4528df537ca190d5f93faba23a843;hpb=b011f6b0d77e0a93fffa1b47ee32e1b07dd16a8a;p=babeltrace.git diff --git a/formats/ctf/ir/field-path.c b/formats/ctf/ir/field-path.c index 183a8579..6c0b248a 100644 --- a/formats/ctf/ir/field-path.c +++ b/formats/ctf/ir/field-path.c @@ -25,7 +25,7 @@ * SOFTWARE. */ -#include +#include #include #include #include @@ -57,7 +57,7 @@ struct bt_ctf_field_path *bt_ctf_field_path_create(void) } bt_object_init(field_path, field_path_destroy); - field_path->root = CTF_NODE_UNKNOWN; + field_path->root = BT_CTF_SCOPE_UNKNOWN; field_path->indexes = g_array_new(TRUE, FALSE, sizeof(int)); if (!field_path->indexes) { goto error; @@ -96,10 +96,10 @@ end: return new_path; } -enum bt_ctf_node bt_ctf_field_path_get_root( +enum bt_ctf_scope bt_ctf_field_path_get_root_scope( const struct bt_ctf_field_path *field_path) { - enum bt_ctf_scope scope = CTF_NODE_UNKNOWN; + enum bt_ctf_scope scope = BT_CTF_SCOPE_UNKNOWN; if (!field_path) { goto end;