ctf.fs: bt_ctf_notif_iter_create(): assert() that all medops exist
[babeltrace.git] / formats / ctf / ir / field-path.c
index 183a85793ce4528df537ca190d5f93faba23a843..6c0b248af0ce222632a9957834ab8d3cc8f8c4e5 100644 (file)
@@ -25,7 +25,7 @@
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-ir/event-types.h>
+#include <babeltrace/ctf-ir/field-types.h>
 #include <babeltrace/ctf-ir/field-path-internal.h>
 #include <babeltrace/ctf-ir/field-path.h>
 #include <limits.h>
@@ -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;
This page took 0.024113 seconds and 4 git commands to generate.