diff --git a/include/flags.h b/include/flags.h index c010707..2778821 100644 --- a/include/flags.h +++ b/include/flags.h @@ -31,8 +31,9 @@ const enum EXIT_CODES //exit codes you fucking idiot #define DEPRECATED __attribute__((deprecated)) //SAME COMMENT AS VERSIONS_NAME'S #define UNUSED __attribute__((unused)) //SAME COMMENT AS DEPRECATED'S +//TYPES typedef char boolean; - +typedef int (*encryptionOperation_type_cb)(int, int); typedef struct { boolean noCheck; //BOOLEAN FOR SKIPPING VERSION CHECK diff --git a/src/lib/flags.c b/src/lib/flags.c index fb691b8..336cacf 100644 --- a/src/lib/flags.c +++ b/src/lib/flags.c @@ -11,7 +11,6 @@ int encryptionOperation(int text, int encryptedText); char encryptionSeparator = '.'; //NOPE > DO NOT TOUCH THIS, USE setEncryptionSeparator instead < unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead < inputFlags flags = DEFAULT_FLAGS; -typedef int (*encryptionOperation_type_cb)(int, int); encryptionOperation_type_cb encryptionOperation_cb = encryptionOperation; //GETTERS