From 502ed6760d9d2d674d0dcc87a6cb223ff079745d Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 9 May 2015 20:09:55 -0300 Subject: loader: added tests --- src/file.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/file.h (limited to 'src/file.h') diff --git a/src/file.h b/src/file.h new file mode 100644 index 0000000..5abdba7 --- /dev/null +++ b/src/file.h @@ -0,0 +1,19 @@ +/* + * blogc: A blog compiler. + * Copyright (C) 2015 Rafael G. Martins + * + * This program can be distributed under the terms of the BSD License. + * See the file COPYING. + */ + +#ifndef _FILE_H +#define _FILE_H + +#include "utils/utils.h" +#include "error.h" + +#define BLOGC_FILE_CHUNK_SIZE 1024 + +char* blogc_file_get_contents(const char *path, size_t *len, blogc_error_t **err); + +#endif /* _FILE_H */ -- cgit v1.2.3-18-g5258