added exitCode parameter to noOutput function
This commit is contained in:
parent
85ec93bb7d
commit
045db6c7db
@ -51,7 +51,7 @@ static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, US
|
|||||||
//GETTERS
|
//GETTERS
|
||||||
unsigned long getKeyLength();
|
unsigned long getKeyLength();
|
||||||
inputFlags noFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES
|
inputFlags noFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES
|
||||||
outputFlags noOutput(); //SAME AS noFlags() BUT FOR outputFlags
|
outputFlags noOutput(unsigned char exitCode); //SAME AS noFlags() BUT FOR outputFlags
|
||||||
|
|
||||||
//SETTERS
|
//SETTERS
|
||||||
void setKeyLength(int keyLengthNew);
|
void setKeyLength(int keyLengthNew);
|
||||||
|
@ -10,9 +10,9 @@ inputFlags noFlags()
|
|||||||
return (inputFlags) {0, 0, 1};
|
return (inputFlags) {0, 0, 1};
|
||||||
}
|
}
|
||||||
|
|
||||||
outputFlags noOutput()
|
outputFlags noOutput(unsigned char exitCode)
|
||||||
{
|
{
|
||||||
return (outputFlags) {"", "", 0, 0};
|
return (outputFlags) {"", "", 0, 0, exitCode};
|
||||||
}
|
}
|
||||||
|
|
||||||
void setKeyLength(int keyLengthNew)
|
void setKeyLength(int keyLengthNew)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user