From 8dc46c9a698401f43a315e49c84851ba94423d30 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 2 Sep 2021 11:08:05 +0300 Subject: (1) Implemented file (folder) creation and initialisation --- src/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 3f2bba6..303efea 100644 --- a/src/main.c +++ b/src/main.c @@ -7,16 +7,19 @@ #define SHELL_STRING "> " +extern void initFiles(); extern void registerDefaultHandlers(); -void printDefault(); + extern bool route(char *command); +void printDefault(); int main() { + initFiles(); + registerDefaultHandlers(); + char buffer[LINE_MAX]; buffer[0] = 0; - registerDefaultHandlers(); - printf("Welcome!\n\n"); do { // Removes the Line Feed character at the "end", if it exists -- cgit v1.2.3