declared getFlags & setFlags

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

View File

@ -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;
}