diff options
author | Tharre <tharre3@gmail.com> | 2014-04-08 09:19:33 +0200 |
---|---|---|
committer | xRamses <tharre3@gmail.com> | 2014-04-08 09:19:33 +0200 |
commit | c766f073e60c3aa51a3cc1555af87ded5823e5a0 (patch) | |
tree | 43595070e833b251b3f7ac7e94e5e992918194ef /src/util.h | |
download | redo-c766f073e60c3aa51a3cc1555af87ded5823e5a0.tar.gz redo-c766f073e60c3aa51a3cc1555af87ded5823e5a0.tar.xz redo-c766f073e60c3aa51a3cc1555af87ded5823e5a0.zip |
Initial codebase
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdlib.h> +#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 |