From c766f073e60c3aa51a3cc1555af87ded5823e5a0 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 8 Apr 2014 09:19:33 +0200 Subject: Initial codebase --- src/util.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..40780d8 --- /dev/null +++ b/src/util.h @@ -0,0 +1,13 @@ +#ifndef __RUTIL_H__ +#define __RUTIL_H__ + +#include +#include "../config.h" + +extern char *concat(size_t count, ...); +extern void *ec_malloc(size_t size); +extern char *ec_strdup(const char* str); +extern char *strdup(const char *str); +extern char *xbasename(const char *path); + +#endif -- cgit v1.2.3-70-g09d2