18 lines
287 B
C
18 lines
287 B
C
#ifndef LIBDS_HEADER
|
|
#define LIBDS_HEADER
|
|
|
|
#include <stdarg.h>
|
|
|
|
enum libds_result_e {
|
|
SUCCESS,
|
|
MALLOC
|
|
};
|
|
|
|
typedef enum libds_result_e libds_result;
|
|
typedef int (*compare_func)(void*, void*);
|
|
typedef int (*foreach_func)(void*, va_list);
|
|
|
|
int compare_always(void* a, void* b);
|
|
|
|
#endif
|