2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
5 * Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
8 #ifndef BABELTRACE_CTF_WRITER_ATTRIBUTES_H
9 #define BABELTRACE_CTF_WRITER_ATTRIBUTES_H
16 #include "common/macros.h"
20 struct bt_ctf_private_value
*bt_ctf_attributes_create(void);
22 void bt_ctf_attributes_destroy(struct bt_ctf_private_value
*attr_obj
);
24 int64_t bt_ctf_attributes_get_count(struct bt_ctf_private_value
*attr_obj
);
26 const char *bt_ctf_attributes_get_field_name(struct bt_ctf_private_value
*attr_obj
,
29 struct bt_ctf_private_value
*bt_ctf_attributes_borrow_field_value(struct bt_ctf_private_value
*attr_obj
,
32 int bt_ctf_attributes_set_field_value(struct bt_ctf_private_value
*attr_obj
,
33 const char *name
, struct bt_ctf_private_value
*value_obj
);
35 struct bt_ctf_private_value
*bt_ctf_attributes_borrow_field_value_by_name(
36 struct bt_ctf_private_value
*attr_obj
, const char *name
);
38 int bt_ctf_attributes_freeze(struct bt_ctf_private_value
*attr_obj
);
44 #endif /* BABELTRACE_CTF_WRITER_ATTRIBUTES_H */
This page took 0.030809 seconds and 4 git commands to generate.