-#ifndef BABELTRACE_CTF_IR_FIELD_PATH
-#define BABELTRACE_CTF_IR_FIELD_PATH
+#ifndef BABELTRACE_CTF_IR_FIELD_PATH_H
+#define BABELTRACE_CTF_IR_FIELD_PATH_H
/*
* BabelTrace - CTF IR: Field path
* http://www.efficios.com/ctf
*/
-#include <babeltrace/ctf-ir/field-types.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
+struct bt_ctf_field_type;
+
/**
@defgroup ctfirfieldpath CTF IR field path
@ingroup ctfir
@prenotnull{field_path}
@postrefcountsame{field_path}
*/
-extern int bt_ctf_field_path_get_index_count(
+extern int64_t bt_ctf_field_path_get_index_count(
const struct bt_ctf_field_path *field_path);
/**
@postrefcountsame{field_path}
*/
extern int bt_ctf_field_path_get_index(
- const struct bt_ctf_field_path *field_path,
- int index);
+ const struct bt_ctf_field_path *field_path, uint64_t index);
/** @} */
}
#endif
-#endif /* BABELTRACE_CTF_IR_FIELD_PATH */
+#endif /* BABELTRACE_CTF_IR_FIELD_PATH_H */