From 692e76db175c2da444a5d92163305d26de73501a Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 10 Jul 2022 18:07:21 +0200 Subject: [PATCH] created getter & setter for 'flags' --- include/flags.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/flags.h b/include/flags.h index d3c17b2..247cfcb 100644 --- a/include/flags.h +++ b/include/flags.h @@ -49,10 +49,12 @@ typedef struct char getEncryptionSeparator(); unsigned long getKeyLength(); inputFlags defaultFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES +inputFlags getFlags(); //RETURNS USED FLAGS outputFlags noOutput(unsigned char exitCode); //SAME AS defaultFlags() BUT FOR outputFlags //SETTERS void setEncryptionSeparator(char encryptionSeparatorNew); void setKeyLength(int keyLengthNew); +void setFlags(inputFlags newFlags); //.... whatcha think? #endif