2 * SPDX-License-Identifier: MIT
4 * Copyright 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * Common Trace Format Object Stack.
12 #include "common/macros.h"
16 struct objstack *objstack_create(void);
17 void objstack_destroy(struct objstack *objstack);
20 * Allocate len bytes of zeroed memory.
21 * Return NULL on error.
23 void *objstack_alloc(struct objstack *objstack, size_t len);
25 #endif /* _OBJSTACK_H */