created getter & setter for 'flags'

This commit is contained in:
Václav Šmejkal 2022-07-10 18:07:21 +02:00
parent fb620fd8c9
commit 692e76db17
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -49,10 +49,12 @@ typedef struct
char getEncryptionSeparator(); char getEncryptionSeparator();
unsigned long getKeyLength(); unsigned long getKeyLength();
inputFlags defaultFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES inputFlags defaultFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES
inputFlags getFlags(); //RETURNS USED FLAGS
outputFlags noOutput(unsigned char exitCode); //SAME AS defaultFlags() BUT FOR outputFlags outputFlags noOutput(unsigned char exitCode); //SAME AS defaultFlags() BUT FOR outputFlags
//SETTERS //SETTERS
void setEncryptionSeparator(char encryptionSeparatorNew); void setEncryptionSeparator(char encryptionSeparatorNew);
void setKeyLength(int keyLengthNew); void setKeyLength(int keyLengthNew);
void setFlags(inputFlags newFlags); //.... whatcha think?
#endif #endif