Python babeltrace docs: Add missing sphinx dist file
[babeltrace.git] / include / babeltrace / ctf-ir / field-path.h
index 7b009828c547e0e22946783667f79f19ea31bf39..45f681fbd63a3a71c1ccbaf9cd91fe40338ea076 100644 (file)
@@ -1,5 +1,5 @@
-#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
@@ -109,7 +111,7 @@ extern enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
 @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);
 
 /**
@@ -129,8 +131,7 @@ extern int bt_ctf_field_path_get_index_count(
 @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);
 
 /** @} */
 
@@ -138,4 +139,4 @@ extern int bt_ctf_field_path_get_index(
 }
 #endif
 
-#endif /* BABELTRACE_CTF_IR_FIELD_PATH */
+#endif /* BABELTRACE_CTF_IR_FIELD_PATH_H */
This page took 0.029837 seconds and 4 git commands to generate.