X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-ir%2Ffield-path-const.h;h=1d80f9399f9f1828708eb9bf710991b3d8a61167;hp=066bc4568761446ecaaabdfd50bc1766bb9d9ea0;hb=b19ff26f04df428047676dd736bd7cc9473906fe;hpb=c5b9b4417bedfbec9b5dd23b8395ccdd4eeffc44 diff --git a/include/babeltrace/trace-ir/field-path-const.h b/include/babeltrace/trace-ir/field-path-const.h index 066bc456..1d80f939 100644 --- a/include/babeltrace/trace-ir/field-path-const.h +++ b/include/babeltrace/trace-ir/field-path-const.h @@ -28,12 +28,13 @@ #include +/* For bt_field_path */ +#include + #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 { \