Rename bt_ctf_X -> bt_X, maintain backward compat. for pre-2.0 CTF writer
[babeltrace.git] / include / babeltrace / ctf-ir / attributes-internal.h
index b6a15a8c97e68b31775350b0e08a8eb746dc1652..b820a70d53f08949a27fae2d48dba3fe95037fa8 100644 (file)
 extern "C" {
 #endif
 
+#include <stdint.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/values.h>
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_create(void);
+struct bt_value *bt_attributes_create(void);
 
 BT_HIDDEN
-void bt_ctf_attributes_destroy(struct bt_value *attr_obj);
+void bt_attributes_destroy(struct bt_value *attr_obj);
 
 BT_HIDDEN
-int bt_ctf_attributes_get_count(struct bt_value *attr_obj);
+int64_t bt_attributes_get_count(struct bt_value *attr_obj);
 
 BT_HIDDEN
-const char *bt_ctf_attributes_get_field_name(struct bt_value *attr_obj,
-               int index);
+const char *bt_attributes_get_field_name(struct bt_value *attr_obj,
+               uint64_t index);
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_get_field_value(struct bt_value *attr_obj,
-               int index);
+struct bt_value *bt_attributes_get_field_value(struct bt_value *attr_obj,
+               uint64_t index);
 
 BT_HIDDEN
-int bt_ctf_attributes_set_field_value(struct bt_value *attr_obj,
+int bt_attributes_set_field_value(struct bt_value *attr_obj,
                const char *name, struct bt_value *value_obj);
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_get_field_value_by_name(
+struct bt_value *bt_attributes_get_field_value_by_name(
                struct bt_value *attr_obj, const char *name);
 
 BT_HIDDEN
-int bt_ctf_attributes_freeze(struct bt_value *attr_obj);
+int bt_attributes_freeze(struct bt_value *attr_obj);
 
 #ifdef __cplusplus
 }
This page took 0.023866 seconds and 4 git commands to generate.