src/plugins/ctf/common: restructure subtree
[babeltrace.git] / src / plugins / ctf / common / src / metadata / tsdl / objstack.hpp
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
6 * Common Trace Format Object Stack.
7 */
8
9 #ifndef _OBJSTACK_H
10 #define _OBJSTACK_H
11
12 #include <cstddef>
13
14 struct objstack *objstack_create(void);
15 void objstack_destroy(struct objstack *objstack);
16
17 /*
18 * Allocate len bytes of zeroed memory.
19 * Return NULL on error.
20 */
21 void *objstack_alloc(struct objstack *objstack, size_t len);
22
23 #endif /* _OBJSTACK_H */
This page took 0.030301 seconds and 4 git commands to generate.