flt.utils.muxer: add IWYU pragma
[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_H
8#define BABELTRACE_CTF_WRITER_FIELD_WRAPPER_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
23struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_new(void *data);
24
25void bt_ctf_field_wrapper_destroy(struct bt_ctf_field_wrapper *field);
26
27struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_create(
28 struct bt_ctf_object_pool *pool, struct bt_ctf_field_type *ft);
29
30#endif /* BABELTRACE_CTF_WRITER_FIELD_WRAPPER_H */
This page took 0.022986 seconds and 5 git commands to generate.