-bt_ctf_bool bt_ctf_value_null_compare(const struct bt_ctf_value *object_a,
- const struct bt_ctf_value *object_b)
+bt_ctf_bool bt_ctf_value_null_compare(
+ const struct bt_ctf_value *object_a __attribute__((unused)),
+ const struct bt_ctf_value *object_b __attribute__((unused)))
enum bt_ctf_value_status _bt_ctf_value_freeze(struct bt_ctf_value *object)
{
enum bt_ctf_value_status ret = BT_CTF_VALUE_STATUS_OK;
enum bt_ctf_value_status _bt_ctf_value_freeze(struct bt_ctf_value *object)
{
enum bt_ctf_value_status ret = BT_CTF_VALUE_STATUS_OK;
enum bt_ctf_value_type bt_ctf_value_get_type(const struct bt_ctf_value *object)
{
BT_CTF_ASSERT_PRE_NON_NULL(object, "Value object");
enum bt_ctf_value_type bt_ctf_value_get_type(const struct bt_ctf_value *object)
{
BT_CTF_ASSERT_PRE_NON_NULL(object, "Value object");
struct bt_ctf_private_value *bt_ctf_private_value_bool_create_init(bt_ctf_bool val)
{
struct bt_ctf_value_bool *bool_obj;
struct bt_ctf_private_value *bt_ctf_private_value_bool_create_init(bt_ctf_bool val)
{
struct bt_ctf_value_bool *bool_obj;
struct bt_ctf_private_value *bt_ctf_private_value_bool_create(void)
{
return bt_ctf_private_value_bool_create_init(BT_CTF_FALSE);
}
struct bt_ctf_private_value *bt_ctf_private_value_bool_create(void)
{
return bt_ctf_private_value_bool_create_init(BT_CTF_FALSE);
}
struct bt_ctf_private_value *bt_ctf_private_value_integer_create_init(int64_t val)
{
struct bt_ctf_value_integer *integer_obj;
struct bt_ctf_private_value *bt_ctf_private_value_integer_create_init(int64_t val)
{
struct bt_ctf_value_integer *integer_obj;
struct bt_ctf_private_value *bt_ctf_private_value_integer_create(void)
{
return bt_ctf_private_value_integer_create_init(0);
}
struct bt_ctf_private_value *bt_ctf_private_value_integer_create(void)
{
return bt_ctf_private_value_integer_create_init(0);
}
struct bt_ctf_private_value *bt_ctf_private_value_real_create_init(double val)
{
struct bt_ctf_value_real *real_obj;
struct bt_ctf_private_value *bt_ctf_private_value_real_create_init(double val)
{
struct bt_ctf_value_real *real_obj;
struct bt_ctf_private_value *bt_ctf_private_value_real_create(void)
{
return bt_ctf_private_value_real_create_init(0.);
}
struct bt_ctf_private_value *bt_ctf_private_value_real_create(void)
{
return bt_ctf_private_value_real_create_init(0.);
}
struct bt_ctf_private_value *bt_ctf_private_value_string_create_init(const char *val)
{
struct bt_ctf_value_string *string_obj = NULL;
struct bt_ctf_private_value *bt_ctf_private_value_string_create_init(const char *val)
{
struct bt_ctf_value_string *string_obj = NULL;
struct bt_ctf_private_value *bt_ctf_private_value_string_create(void)
{
return bt_ctf_private_value_string_create_init("");
}
struct bt_ctf_private_value *bt_ctf_private_value_string_create(void)
{
return bt_ctf_private_value_string_create_init("");
}
struct bt_ctf_private_value *bt_ctf_private_value_array_create(void)
{
struct bt_ctf_value_array *array_obj;
struct bt_ctf_private_value *bt_ctf_private_value_array_create(void)
{
struct bt_ctf_value_array *array_obj;
bt_ctf_bool bt_ctf_value_bool_get(const struct bt_ctf_value *bool_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(bool_obj, "Value object");
bt_ctf_bool bt_ctf_value_bool_get(const struct bt_ctf_value *bool_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(bool_obj, "Value object");
void bt_ctf_private_value_bool_set(struct bt_ctf_private_value *bool_obj, bt_ctf_bool val)
{
BT_CTF_ASSERT_PRE_NON_NULL(bool_obj, "Value object");
void bt_ctf_private_value_bool_set(struct bt_ctf_private_value *bool_obj, bt_ctf_bool val)
{
BT_CTF_ASSERT_PRE_NON_NULL(bool_obj, "Value object");
int64_t bt_ctf_value_integer_get(const struct bt_ctf_value *integer_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(integer_obj, "Value object");
int64_t bt_ctf_value_integer_get(const struct bt_ctf_value *integer_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(integer_obj, "Value object");
double bt_ctf_value_real_get(const struct bt_ctf_value *real_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(real_obj, "Value object");
double bt_ctf_value_real_get(const struct bt_ctf_value *real_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(real_obj, "Value object");
void bt_ctf_private_value_real_set(struct bt_ctf_private_value *real_obj, double val)
{
BT_CTF_ASSERT_PRE_NON_NULL(real_obj, "Value object");
void bt_ctf_private_value_real_set(struct bt_ctf_private_value *real_obj, double val)
{
BT_CTF_ASSERT_PRE_NON_NULL(real_obj, "Value object");
const char *bt_ctf_value_string_get(const struct bt_ctf_value *string_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(string_obj, "Value object");
const char *bt_ctf_value_string_get(const struct bt_ctf_value *string_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(string_obj, "Value object");
enum bt_ctf_value_status bt_ctf_private_value_string_set(
struct bt_ctf_private_value *string_obj, const char *val)
{
enum bt_ctf_value_status bt_ctf_private_value_string_set(
struct bt_ctf_private_value *string_obj, const char *val)
{
uint64_t bt_ctf_value_array_get_length(const struct bt_ctf_value *array_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(array_obj, "Value object");
uint64_t bt_ctf_value_array_get_length(const struct bt_ctf_value *array_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(array_obj, "Value object");
struct bt_ctf_value *bt_ctf_value_array_borrow_element_by_index(
const struct bt_ctf_value *array_obj,
uint64_t index)
struct bt_ctf_value *bt_ctf_value_array_borrow_element_by_index(
const struct bt_ctf_value *array_obj,
uint64_t index)
struct bt_ctf_private_value *bt_ctf_private_value_array_borrow_element_by_index(
const struct bt_ctf_private_value *array_obj,
uint64_t index)
struct bt_ctf_private_value *bt_ctf_private_value_array_borrow_element_by_index(
const struct bt_ctf_private_value *array_obj,
uint64_t index)
enum bt_ctf_value_status bt_ctf_private_value_array_append_element(
struct bt_ctf_private_value *array_obj,
struct bt_ctf_value *element_obj)
enum bt_ctf_value_status bt_ctf_private_value_array_append_element(
struct bt_ctf_private_value *array_obj,
struct bt_ctf_value *element_obj)
enum bt_ctf_value_status bt_ctf_private_value_array_append_bool_element(
struct bt_ctf_private_value *array_obj, bt_ctf_bool val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_bool_element(
struct bt_ctf_private_value *array_obj, bt_ctf_bool val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_integer_element(
struct bt_ctf_private_value *array_obj, int64_t val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_integer_element(
struct bt_ctf_private_value *array_obj, int64_t val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_real_element(
struct bt_ctf_private_value *array_obj, double val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_real_element(
struct bt_ctf_private_value *array_obj, double val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_string_element(
struct bt_ctf_private_value *array_obj, const char *val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_string_element(
struct bt_ctf_private_value *array_obj, const char *val)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_empty_array_element(
struct bt_ctf_private_value *array_obj)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_empty_array_element(
struct bt_ctf_private_value *array_obj)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_empty_map_element(
struct bt_ctf_private_value *array_obj)
{
enum bt_ctf_value_status bt_ctf_private_value_array_append_empty_map_element(
struct bt_ctf_private_value *array_obj)
{
enum bt_ctf_value_status bt_ctf_private_value_array_set_element_by_index(
struct bt_ctf_private_value *array_obj, uint64_t index,
struct bt_ctf_value *element_obj)
enum bt_ctf_value_status bt_ctf_private_value_array_set_element_by_index(
struct bt_ctf_private_value *array_obj, uint64_t index,
struct bt_ctf_value *element_obj)
uint64_t bt_ctf_value_map_get_size(const struct bt_ctf_value *map_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(map_obj, "Value object");
uint64_t bt_ctf_value_map_get_size(const struct bt_ctf_value *map_obj)
{
BT_CTF_ASSERT_PRE_NON_NULL(map_obj, "Value object");
struct bt_ctf_private_value *bt_ctf_private_value_map_borrow_entry_value(
const struct bt_ctf_private_value *map_obj, const char *key)
{
return (void *) bt_ctf_value_map_borrow_entry_value((void *) map_obj, key);
}
struct bt_ctf_private_value *bt_ctf_private_value_map_borrow_entry_value(
const struct bt_ctf_private_value *map_obj, const char *key)
{
return (void *) bt_ctf_value_map_borrow_entry_value((void *) map_obj, key);
}
bt_ctf_bool bt_ctf_value_map_has_entry(const struct bt_ctf_value *map_obj, const char *key)
{
BT_CTF_ASSERT_PRE_NON_NULL(map_obj, "Value object");
bt_ctf_bool bt_ctf_value_map_has_entry(const struct bt_ctf_value *map_obj, const char *key)
{
BT_CTF_ASSERT_PRE_NON_NULL(map_obj, "Value object");
enum bt_ctf_value_status bt_ctf_private_value_map_insert_entry(
struct bt_ctf_private_value *map_obj,
const char *key, struct bt_ctf_value *element_obj)
enum bt_ctf_value_status bt_ctf_private_value_map_insert_entry(
struct bt_ctf_private_value *map_obj,
const char *key, struct bt_ctf_value *element_obj)
enum bt_ctf_value_status bt_ctf_private_value_map_insert_bool_entry(
struct bt_ctf_private_value *map_obj, const char *key, bt_ctf_bool val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_bool_entry(
struct bt_ctf_private_value *map_obj, const char *key, bt_ctf_bool val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_integer_entry(
struct bt_ctf_private_value *map_obj, const char *key, int64_t val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_integer_entry(
struct bt_ctf_private_value *map_obj, const char *key, int64_t val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_real_entry(
struct bt_ctf_private_value *map_obj, const char *key, double val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_real_entry(
struct bt_ctf_private_value *map_obj, const char *key, double val)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_string_entry(
struct bt_ctf_private_value *map_obj, const char *key,
const char *val)
enum bt_ctf_value_status bt_ctf_private_value_map_insert_string_entry(
struct bt_ctf_private_value *map_obj, const char *key,
const char *val)
enum bt_ctf_value_status bt_ctf_private_value_map_insert_empty_array_entry(
struct bt_ctf_private_value *map_obj, const char *key)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_empty_array_entry(
struct bt_ctf_private_value *map_obj, const char *key)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_empty_map_entry(
struct bt_ctf_private_value *map_obj, const char *key)
{
enum bt_ctf_value_status bt_ctf_private_value_map_insert_empty_map_entry(
struct bt_ctf_private_value *map_obj, const char *key)
{
enum bt_ctf_value_status bt_ctf_value_map_foreach_entry(const struct bt_ctf_value *map_obj,
bt_ctf_value_map_foreach_entry_cb cb, void *data)
{
enum bt_ctf_value_status bt_ctf_value_map_foreach_entry(const struct bt_ctf_value *map_obj,
bt_ctf_value_map_foreach_entry_cb cb, void *data)
{
enum bt_ctf_value_status bt_ctf_private_value_map_foreach_entry(
const struct bt_ctf_private_value *map_obj,
bt_ctf_private_value_map_foreach_entry_cb cb, void *data)
enum bt_ctf_value_status bt_ctf_private_value_map_foreach_entry(
const struct bt_ctf_private_value *map_obj,
bt_ctf_private_value_map_foreach_entry_cb cb, void *data)
enum bt_ctf_value_status bt_ctf_value_map_extend(
struct bt_ctf_private_value **extended_map_obj,
const struct bt_ctf_value *base_map_obj,
enum bt_ctf_value_status bt_ctf_value_map_extend(
struct bt_ctf_private_value **extended_map_obj,
const struct bt_ctf_value *base_map_obj,
enum bt_ctf_value_status bt_ctf_value_copy(struct bt_ctf_private_value **copy_obj,
const struct bt_ctf_value *object)
{
enum bt_ctf_value_status bt_ctf_value_copy(struct bt_ctf_private_value **copy_obj,
const struct bt_ctf_value *object)
{
bt_ctf_bool bt_ctf_value_compare(const struct bt_ctf_value *object_a,
const struct bt_ctf_value *object_b)
{
bt_ctf_bool bt_ctf_value_compare(const struct bt_ctf_value *object_a,
const struct bt_ctf_value *object_b)
{