From c3b5db01243578e52410fd25a4d004cd04c6d270 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 10 Jul 2022 18:10:18 +0200 Subject: [PATCH] declared getFlags & setFlags --- src/lib/flags.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/flags.c b/src/lib/flags.c index c3141d4..21ac613 100644 --- a/src/lib/flags.c +++ b/src/lib/flags.c @@ -26,6 +26,11 @@ inputFlags defaultFlags() return DEFAULT_FLAGS; } +inputFlags getFlags() +{ + return flags; +} + outputFlags noOutput(unsigned char exitCode) { char *emptyText = malloc(1); //TEXT @@ -52,4 +57,9 @@ void setEncryptionSeparator(char encryptionSeparatorNew) void setKeyLength(int keyLengthNew) { keyLength = keyLengthNew; +} + +void setFlags(inputFlags newFlags) +{ + flags = newFlags; } \ No newline at end of file