tests: remove problematic (and unnecessary) type annotation
[babeltrace.git] / src / ctf-writer / attributes.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
5 * Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
6 */
7
8#ifndef BABELTRACE_CTF_WRITER_ATTRIBUTES_H
9#define BABELTRACE_CTF_WRITER_ATTRIBUTES_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#include <stdint.h>
16#include "common/macros.h"
17
18#include "values.h"
19
20struct bt_ctf_private_value *bt_ctf_attributes_create(void);
21
22void bt_ctf_attributes_destroy(struct bt_ctf_private_value *attr_obj);
23
24int64_t bt_ctf_attributes_get_count(struct bt_ctf_private_value *attr_obj);
25
26const char *bt_ctf_attributes_get_field_name(struct bt_ctf_private_value *attr_obj,
27 uint64_t index);
28
29struct bt_ctf_private_value *bt_ctf_attributes_borrow_field_value(struct bt_ctf_private_value *attr_obj,
30 uint64_t index);
31
32int bt_ctf_attributes_set_field_value(struct bt_ctf_private_value *attr_obj,
33 const char *name, struct bt_ctf_private_value *value_obj);
34
35struct bt_ctf_private_value *bt_ctf_attributes_borrow_field_value_by_name(
36 struct bt_ctf_private_value *attr_obj, const char *name);
37
38int bt_ctf_attributes_freeze(struct bt_ctf_private_value *attr_obj);
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* BABELTRACE_CTF_WRITER_ATTRIBUTES_H */
This page took 0.022863 seconds and 5 git commands to generate.