diff --git a/include/flags.h b/include/flags.h index deb82cc..45cff4b 100644 --- a/include/flags.h +++ b/include/flags.h @@ -49,6 +49,7 @@ static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, US //GETTERS unsigned long getKeyLength(); inputFlags noFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES +outputFlags noOutput(); //SAME AS noFlags() BUT FOR outputFlags //SETTERS void setKeyLength(int keyLengthNew); diff --git a/src/lib/flags.c b/src/lib/flags.c index 06e9589..f6c197d 100644 --- a/src/lib/flags.c +++ b/src/lib/flags.c @@ -10,6 +10,11 @@ inputFlags noFlags() return (inputFlags) {0, 0, 1}; } +outputFlags noOutput() +{ + return (outputFlags) {"", "", 0, 0}; +} + void setKeyLength(int keyLengthNew) { keyLength = keyLengthNew;