From 054e9d7393bac2f51be121308f5f3916ad9ab875 Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Sat, 22 Feb 2025 22:45:11 +0100 Subject: splitting the argument in to the source and the destination file, only for certain commands --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index d6f6dfd..14c8861 100644 --- a/main.c +++ b/main.c @@ -21,6 +21,11 @@ struct exec_command { void (*func)(const char *); }; +struct split_arg { + const char *source; + const char *destination; +}; + // code prototype functions struct command split_command(char *input); -- cgit v1.2.3-70-g09d2