Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
return new_path;
}
-enum bt_ctf_scope 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 = BT_CTF_SCOPE_UNKNOWN;
struct bt_ctf_field_path;
/*
- * bt_ctf_field_path_get_root: get the root node of a field path.
+ * bt_ctf_field_path_get_root_scope: get the root node of a field path.
*
* Get the field path's root node.
*
*
* Returns the root node of a field path, or BT_CTF_SCOPE_UNKNOWN on error.
*/
-extern enum bt_ctf_scope bt_ctf_field_path_get_root(
+extern enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
const struct bt_ctf_field_path *field_path);
/*
goto end;
}
- if (bt_ctf_field_path_get_root(field_path) != root) {
+ if (bt_ctf_field_path_get_root_scope(field_path) != root) {
ret = -1;
goto end;
}