84318c2cf0
This reverts commit f2ba9d7621
.
15 lines
269 B
C
15 lines
269 B
C
#ifndef ZMAP_STACK_H
|
|
#define ZMAP_STACK_H
|
|
|
|
#include <stddef.h>
|
|
|
|
struct stack;
|
|
typedef struct stack stack_t;
|
|
|
|
stack_t* alloc_stack(size_t size);
|
|
void free_stack(stack_t* stack);
|
|
|
|
void push(stack_t* stack, void* elt);
|
|
void* pop(stack_t* stack);
|
|
|
|
#endif /* ZMAP_STACK_H */ |