349 Commits

Author SHA1 Message Date
ae906571e5
revert why2_generate_key type change
revert c0e49247921b97c15e06427bcbbc3c0628bfff3d
2023-02-03 17:18:09 +01:00
c0e4924792
changed why2_generate_key's type to WHY2_EXIT_CODES 2023-02-03 17:15:40 +01:00
bbb09428d1
renamed all 'public' identificators to snake_case
I mean the identificators user gets in contact with
2023-02-03 17:03:46 +01:00
84a1f4ec8b
renamed why2_input_flags' why2_no_output back to noOutput 2023-02-03 16:53:37 +01:00
990476787f
added explanatory comment to why2_clean_memory declaration 2023-02-03 16:37:00 +01:00
fdf1b4e696
idk random reformatting 2023-02-03 16:12:53 +01:00
aa6b484363
declared why2_get_default_memory_identifier 2023-02-02 16:42:55 +01:00
abbd820778
declared why2_clean_memory 2023-02-02 16:40:24 +01:00
70335e67ad
declared why2_get_memory_identifier, why2_set_memory_identifier and why2_reset_memory_identifier 2023-02-02 16:28:47 +01:00
d885e62502
fixed WHY2_LOGGER_EXIT_CODES typo 2023-02-01 16:14:01 +01:00
d5ae68c621
declared why2_strdup 2023-02-01 15:07:07 +01:00
114695f653
removed every file-related function declaration from memory 2023-01-31 16:11:35 +01:00
384678b055
fixed conflict typo
renamed open to why2_open
2023-01-31 15:54:32 +01:00
8af6bd45c3
declared why2_realloc, why2_fopen, why2_fdopen and why2_open 2023-01-31 15:51:02 +01:00
3491d89a86
declared why2_calloc & why2_free 2023-01-29 20:35:16 +01:00
f04c5447f1
added memory header to why2 header 2023-01-29 20:28:40 +01:00
9c7f40a825
declared why2_malloc 2023-01-29 20:25:32 +01:00
3ec087da2f
created memory header & source file
abcdefghijklmnopqrstuvwxyz
2023-01-29 20:19:29 +01:00
5e8cf54145
renamed every global function & flag
basically - it's in snake_case now AND there's "why2_" at the beginning
2023-01-29 20:14:11 +01:00
a35ac047f3
renamed RETURN_CODES to LOGGER_EXIT_CODES
I should probably add "WHY2" at beginning of every flag, function etc.

but I'm to lazy for that :)
2023-01-27 16:16:20 +01:00
1a209b8675
replaced some why2_bool with EXIT_CODES 2023-01-27 16:14:04 +01:00
5524a4b6e5
renamed boolean typedef to why2_bool
to prevent from conflicts
2023-01-27 16:03:01 +01:00
d16f48b760
replaced deallocateDoublePointer with deallocateDecryptedOutput 2023-01-25 14:13:52 +01:00
e7282dec5a
changed decrypLogger type to decryptedOutput
cuz length
2023-01-25 13:50:47 +01:00
6e3e05aa0b
created decryptedOutput typedef 2023-01-25 13:45:37 +01:00
79c39d6ee0
created WRITE_MESSAGE_2 & WRITE_MESSAGE_3
more testing yk
2023-01-25 12:19:53 +01:00
1fb64603bb
renamed WRITE_MESSAGE to WRITE_MESSAGE_1 2023-01-25 12:16:35 +01:00
38ab5ac67d
declared deallocateDoublePointer function 2023-01-25 12:00:09 +01:00
25b2690ab5
changed decryptLogger type to char** 2023-01-24 12:17:42 +01:00
f2a62fdb7b
added colon to WRITE_FORMAT flag
and implemented it => that flag is used for getting length of log prefix so yeah you get it

hehe
2023-01-24 11:55:42 +01:00
875c3c34d9
added newline escape sequence at the end of WRITE_FORMATTING 2022-12-11 16:18:39 +01:00
b685806b6a
removed flags parameter from decryptLogger 2022-12-11 15:18:15 +01:00
2de4e83700
added missing comment to decryptLogger declaration 2022-12-11 14:59:31 +01:00
3776ad5e02
added void parameter to every function without any parameters 2022-12-11 14:57:57 +01:00
8263a17a20
created decryptLogger function 2022-12-11 14:51:36 +01:00
083233c0f6
declared getFlagsChanged 2022-12-10 16:21:46 +01:00
cb67024dea
renamed defaultFlags getter to getDefaultFlags 2022-12-10 16:08:09 +01:00
de6e0886ac
renamed loggerFlags to logFlags 2022-12-09 17:37:56 +01:00
5c76b768db
created getter & setter for loggerFlags 2022-12-09 17:35:21 +01:00
cc7ad7dc57
created loggerFlags type 2022-12-09 17:28:48 +01:00
acaa7430b8
moved encryption key generation to misc.c 2022-12-09 16:59:12 +01:00
cd6600a83f
added latest log feature && simplified LOG_FORMATTING 2022-12-09 15:10:41 +01:00
ea76a8b5e6
added logFile to deallocateLogger 2022-12-04 19:15:44 +01:00
1e7868ead1
made initLogger return logFile 2022-12-04 19:05:28 +01:00
ca80df8c11
created logFile typedef 2022-12-04 19:04:24 +01:00
f71647e0ff
added license at top of every file
I mean, the files where it is possible
2022-12-04 18:55:13 +01:00
80f8fc6967
created LOG_FORMATTING_START and LOG_FORMAT_START flags 2022-11-23 19:49:33 +01:00
2d233ea54e
addded ".log" ad the end of LOG_FORMATTING flag
I forgot, again
2022-11-23 19:31:26 +01:00
28a38e5290
moved logger-test's directory to WRITE_DIR flag 2022-11-22 18:56:10 +01:00
2c379872d9
moved logger-test's write message to WRITE_MESSAGE flag 2022-11-22 18:55:34 +01:00