lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / ctf-ir / field-path-internal.h
index de08a87e9c2696881c79586d2338d02f17bdc77e..907be9b2dcfe17b43f88df4ca43a324e3f8a6957 100644 (file)
  * http://www.efficios.com/ctf
  */
 
+#include <babeltrace/common-internal.h>
 #include <babeltrace/object-internal.h>
+#include <babeltrace/assert-internal.h>
 #include <glib.h>
 
-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
@@ -45,13 +47,13 @@ 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);
 
 #endif /* BABELTRACE_CTF_IR_FIELD_PATH_INTERNAL */
This page took 0.035758 seconds and 4 git commands to generate.