lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / trace-ir / field-path-const.h
index 066bc4568761446ecaaabdfd50bc1766bb9d9ea0..1d80f9399f9f1828708eb9bf710991b3d8a61167 100644 (file)
 
 #include <stdint.h>
 
+/* For bt_field_path */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_field_path;
-
 enum bt_scope {
        BT_SCOPE_PACKET_HEADER,
        BT_SCOPE_PACKET_CONTEXT,
@@ -44,17 +45,17 @@ enum bt_scope {
 };
 
 extern enum bt_scope bt_field_path_get_root_scope(
-               const struct bt_field_path *field_path);
+               const bt_field_path *field_path);
 
 extern uint64_t bt_field_path_get_index_count(
-               const struct bt_field_path *field_path);
+               const bt_field_path *field_path);
 
 extern uint64_t bt_field_path_get_index_by_index(
-               const struct bt_field_path *field_path, uint64_t index);
+               const bt_field_path *field_path, uint64_t index);
 
-extern void bt_field_path_get_ref(const struct bt_field_path *field_path);
+extern void bt_field_path_get_ref(const bt_field_path *field_path);
 
-extern void bt_field_path_put_ref(const struct bt_field_path *field_path);
+extern void bt_field_path_put_ref(const bt_field_path *field_path);
 
 #define BT_FIELD_PATH_PUT_REF_AND_RESET(_var)          \
        do {                                            \
This page took 0.023614 seconds and 4 git commands to generate.