X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fattributes-internal.h;fp=include%2Fbabeltrace%2Fctf-ir%2Fattributes-internal.h;h=b6a15a8c97e68b31775350b0e08a8eb746dc1652;hb=dac5c838a2e15f0da9acd223a119ae7962dbc79a;hp=e383c28dcea094d992c84053101f52218f4aa992;hpb=e693822d3c00dbca7336ee2f9ba8f756599c7a3b;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/attributes-internal.h b/include/babeltrace/ctf-ir/attributes-internal.h index e383c28d..b6a15a8c 100644 --- a/include/babeltrace/ctf-ir/attributes-internal.h +++ b/include/babeltrace/ctf-ir/attributes-internal.h @@ -33,35 +33,35 @@ extern "C" { #endif #include -#include +#include BT_HIDDEN -struct bt_object *bt_ctf_attributes_create(void); +struct bt_value *bt_ctf_attributes_create(void); BT_HIDDEN -void bt_ctf_attributes_destroy(struct bt_object *attr_obj); +void bt_ctf_attributes_destroy(struct bt_value *attr_obj); BT_HIDDEN -int bt_ctf_attributes_get_count(struct bt_object *attr_obj); +int bt_ctf_attributes_get_count(struct bt_value *attr_obj); BT_HIDDEN -const char *bt_ctf_attributes_get_field_name(struct bt_object *attr_obj, +const char *bt_ctf_attributes_get_field_name(struct bt_value *attr_obj, int index); BT_HIDDEN -struct bt_object *bt_ctf_attributes_get_field_value(struct bt_object *attr_obj, +struct bt_value *bt_ctf_attributes_get_field_value(struct bt_value *attr_obj, int index); BT_HIDDEN -int bt_ctf_attributes_set_field_value(struct bt_object *attr_obj, - const char *name, struct bt_object *value_obj); +int bt_ctf_attributes_set_field_value(struct bt_value *attr_obj, + const char *name, struct bt_value *value_obj); BT_HIDDEN -struct bt_object *bt_ctf_attributes_get_field_value_by_name( - struct bt_object *attr_obj, const char *name); +struct bt_value *bt_ctf_attributes_get_field_value_by_name( + struct bt_value *attr_obj, const char *name); BT_HIDDEN -int bt_ctf_attributes_freeze(struct bt_object *attr_obj); +int bt_ctf_attributes_freeze(struct bt_value *attr_obj); #ifdef __cplusplus }