.gitignore: add some more IDE / tools related file
[babeltrace.git] / src / plugins / ctf / common / src / metadata / tsdl / objstack.hpp
CommitLineData
e98a2d6e 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
e98a2d6e 3 *
0235b0db 4 * Copyright 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
e98a2d6e 5 *
0235b0db 6 * Common Trace Format Object Stack.
e98a2d6e
PP
7 */
8
ae2be88d
SM
9#ifndef BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_OBJSTACK_HPP
10#define BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_OBJSTACK_HPP
0235b0db 11
7ece2fc0
SM
12#include <cstddef>
13
0f5c5d5c
SM
14namespace bt2c {
15
16class Logger;
17
18} /* namespace bt2c */
19
20struct objstack *objstack_create(const bt2c::Logger& parentLogger);
e98a2d6e
PP
21void objstack_destroy(struct objstack *objstack);
22
23/*
24 * Allocate len bytes of zeroed memory.
25 * Return NULL on error.
26 */
e98a2d6e
PP
27void *objstack_alloc(struct objstack *objstack, size_t len);
28
ae2be88d 29#endif /* BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_OBJSTACK_HPP */
This page took 0.096152 seconds and 4 git commands to generate.