diff options
Diffstat (limited to 'file.h')
| -rw-r--r-- | file.h | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -0,0 +1,13 @@ | |||
| 1 | #ifndef FILE_H | ||
| 2 | #define FILE_H | ||
| 3 | |||
| 4 | #include <stdio.h> | ||
| 5 | |||
| 6 | struct FileContent { | ||
| 7 | const char *content; | ||
| 8 | size_t count; | ||
| 9 | }; | ||
| 10 | |||
| 11 | struct FileContent read_entire_file(const char *file_path); | ||
| 12 | |||
| 13 | #endif | ||
