created (local variable) DEFAULT_FLAGS to simplify defaultFlags() etc.
This commit is contained in:
parent
8b57e5450b
commit
fb620fd8c9
@ -2,10 +2,13 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
//CONSTS (this is just local)
|
||||
#define DEFAULT_FLAGS (inputFlags) { 0, 0, 0 }
|
||||
|
||||
//VARIABLES
|
||||
static char encryptionSeparator = '.'; //NOPE > DO NOT TOUCH THIS, USE setEncryptionSeparator instead <
|
||||
static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead <
|
||||
static inputFlags flags = (inputFlags) { 0, 0, 0 };
|
||||
static inputFlags flags = DEFAULT_FLAGS;
|
||||
|
||||
//GETTERS
|
||||
char getEncryptionSeparator()
|
||||
@ -20,7 +23,7 @@ unsigned long getKeyLength()
|
||||
|
||||
inputFlags defaultFlags()
|
||||
{
|
||||
return (inputFlags) { 0, 0, 0 };
|
||||
return DEFAULT_FLAGS;
|
||||
}
|
||||
|
||||
outputFlags noOutput(unsigned char exitCode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user