Move to kernel style SPDX license identifiers
[babeltrace.git] / src / ctf-writer / field-wrapper.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
5 */
6
7#ifndef BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
8#define BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
9
10#include "common/macros.h"
11
12#include "fields.h"
13#include "object.h"
14#include "object-pool.h"
15
16struct bt_ctf_field_wrapper {
17 struct bt_ctf_object base;
18
19 /* Owned by this */
20 struct bt_ctf_field_common *field;
21};
22
23BT_HIDDEN
24struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_new(void *data);
25
26BT_HIDDEN
27void bt_ctf_field_wrapper_destroy(struct bt_ctf_field_wrapper *field);
28
29BT_HIDDEN
30struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_create(
31 struct bt_ctf_object_pool *pool, struct bt_ctf_field_type *ft);
32
33#endif /* BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H */
This page took 0.026049 seconds and 4 git commands to generate.