diff options
author | Oskar <[email protected]> | 2023-10-26 15:59:28 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2023-10-26 15:59:28 +0200 |
commit | 45795ba6e39027982e215d1ea4c37ad67c987c04 (patch) | |
tree | 6b36b9d8fe5d0708df7096ef1a2f4e31cb0f7c75 /7ed.h |
First commit
Diffstat (limited to '7ed.h')
-rw-r--r-- | 7ed.h | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -0,0 +1,57 @@ +#include <stddef.h> + +#define BUF_SZ_256 256 +#define BUF_SZ_512 512 +#define BUF_SZ_1 1024 +#define BUF_SZ_2 2048 +#define BUF_SZ_4 4096 +#define BUF_SZ_8 8192 + +#ifndef COUNT_LINES_IN_FILE_H +#define COUNT_LINES_IN_FILE_H + +int COUNT_LINES_IN_FILE (char filename[], size_t *lines); + +#endif /* COUNT_LINES_IN_FILE_H */ + +#ifndef COUNT_LINES_IN_FILE_POSIX_H +#define COUNT_LINES_IN_FILE_POSIX_H + +int COUNT_LINES_IN_FILE_POSIX (char filename[], size_t *lines); + +#endif /* COUNT_LINES_IN_FILE_POSIX_H */ + +#ifndef CONFIRM_H +#define CONFIRM_H + +void CONFIRM(); + +#endif /* CONFIRM_H */ + +#ifndef CHOICE_H +#define CHOICE_H + +int CHOICE(); + +#endif /* CHOICE_H */ + +#ifndef SHUFFLE_H +#define SHUFFLE_H + +void shuffle(char arr[], int n); + +#endif /* SHUFFLE_H */ + +#ifndef STARTMODE_H +#define STARTMODE_H +int startmode(char filename[]); + +#endif /* STARTMODE_H */ + + +#ifndef PRINT_7ED_H +#define PRINT_7ED_H + +int print_7ed(); + +#endif /* PRINT_7ED_H */ |