Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / ctf / common / metadata / objstack.h
... / ...
CommitLineData
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 "common/macros.h"
13
14struct objstack;
15
16BT_HIDDEN
17struct objstack *objstack_create(void);
18BT_HIDDEN
19void objstack_destroy(struct objstack *objstack);
20
21/*
22 * Allocate len bytes of zeroed memory.
23 * Return NULL on error.
24 */
25BT_HIDDEN
26void *objstack_alloc(struct objstack *objstack, size_t len);
27
28#endif /* _OBJSTACK_H */
This page took 0.025591 seconds and 4 git commands to generate.