X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Ffield-path-internal.h;h=a65ffe101c1d1650c50ba7f0411e8c405fa76e97;hb=50842bdc4c21f3de2b63e29cdac730af8b6dcca6;hp=66f44cfaddfbbcdc90d36406e9495f5fda90aea4;hpb=6606e9c14a9fc2c1b3edd81cb52c5bb15f07f855;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/field-path-internal.h b/include/babeltrace/ctf-ir/field-path-internal.h index 66f44cfa..a65ffe10 100644 --- a/include/babeltrace/ctf-ir/field-path-internal.h +++ b/include/babeltrace/ctf-ir/field-path-internal.h @@ -32,9 +32,9 @@ #include #include -struct bt_ctf_field_path { +struct bt_field_path { struct bt_object base; - enum bt_ctf_scope root; + enum bt_scope root; /* * Array of integers (int) indicating the index in either @@ -46,17 +46,17 @@ struct bt_ctf_field_path { }; BT_HIDDEN -struct bt_ctf_field_path *bt_ctf_field_path_create(void); +struct bt_field_path *bt_field_path_create(void); BT_HIDDEN -void bt_ctf_field_path_clear(struct bt_ctf_field_path *field_path); +void bt_field_path_clear(struct bt_field_path *field_path); BT_HIDDEN -struct bt_ctf_field_path *bt_ctf_field_path_copy( - struct bt_ctf_field_path *path); +struct bt_field_path *bt_field_path_copy( + struct bt_field_path *path); static inline -GString *bt_ctf_field_path_string(struct bt_ctf_field_path *path) +GString *bt_field_path_string(struct bt_field_path *path) { GString *str = g_string_new(NULL); size_t i; @@ -67,7 +67,7 @@ GString *bt_ctf_field_path_string(struct bt_ctf_field_path *path) goto end; } - g_string_append_printf(str, "[%s", bt_ctf_scope_string(path->root)); + g_string_append_printf(str, "[%s", bt_scope_string(path->root)); for (i = 0; i < path->indexes->len; i++) { int index = g_array_index(path->indexes, int, i);