diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2025-02-22 22:45:11 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2025-02-22 22:45:11 +0100 |
| commit | 054e9d7393bac2f51be121308f5f3916ad9ab875 (patch) | |
| tree | bf6d25bad45cd6522ab5a4685efa28b3f1b79304 | |
| parent | 34d7d91bc56f32602430532646f092701a350fe0 (diff) | |
splitting the argument in to the source and the destination file, only for certain commands
| -rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |
