Move to kernel style SPDX license identifiers
[babeltrace.git] / src / ctf-writer / field-wrapper.h
CommitLineData
16ca5ff0 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
16ca5ff0 3 *
0235b0db 4 * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
16ca5ff0
PP
5 */
6
0235b0db
MJ
7#ifndef BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
8#define BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
9
91d81473 10#include "common/macros.h"
578e048b
MJ
11
12#include "fields.h"
13#include "object.h"
14#include "object-pool.h"
16ca5ff0
PP
15
16struct bt_ctf_field_wrapper {
e1e02a22 17 struct bt_ctf_object base;
16ca5ff0
PP
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(
e1e02a22 31 struct bt_ctf_object_pool *pool, struct bt_ctf_field_type *ft);
16ca5ff0
PP
32
33#endif /* BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H */
This page took 0.061033 seconds and 4 git commands to generate.