defined why2_get_memory_identifier, why2_set_memory_identifier and why2_reset_memory_identifier
This commit is contained in:
parent
2c7130304f
commit
b36bf1a850
@ -82,6 +82,11 @@ why2_bool why2_get_flags_changed(void)
|
|||||||
return flagsChanged;
|
return flagsChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *why2_get_memory_identifier(void)
|
||||||
|
{
|
||||||
|
return memory_identifier;
|
||||||
|
}
|
||||||
|
|
||||||
//SETTERS
|
//SETTERS
|
||||||
void why2_set_encryption_separator(char encryptionSeparatorNew)
|
void why2_set_encryption_separator(char encryptionSeparatorNew)
|
||||||
{
|
{
|
||||||
@ -109,6 +114,16 @@ void why2_set_encryption_operation(why2_encryption_operation_cb newEncryptionOpe
|
|||||||
encryptionOperation_cb = newEncryptionOperation;
|
encryptionOperation_cb = newEncryptionOperation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void why2_set_memory_identifier(char *new_memory_identifier)
|
||||||
|
{
|
||||||
|
memory_identifier = new_memory_identifier;
|
||||||
|
}
|
||||||
|
|
||||||
|
void why2_reset_memory_identifier(void)
|
||||||
|
{
|
||||||
|
memory_identifier = DEFAULT_MEMORY_IDENTIFIER;
|
||||||
|
}
|
||||||
|
|
||||||
//SOME OTHER SHIT
|
//SOME OTHER SHIT
|
||||||
int encryptionOperation(int text, int encryptedText)
|
int encryptionOperation(int text, int encryptedText)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user