Args -K and -A were removed. Store everything in ~/.config/tetatet instead. A helper func get_config_dir() was introduced.Alexander "Arav" Andreev2024-03-31 23:17:01 +0400
In addrbook_t name was renamed to alias. addrbook_get() to addrbook_get_by_pk(). A func addrbook_get_by_alias() was added.Alexander "Arav" Andreev2024-03-30 03:55:25 +0400
Added parse_argv(), version() funcs. A usage() func was changed a little, but it is not its final form. Made char **argv const. Introduced struct options. Added some code for audio transfer, just initialisation and deinit.Alexander "Arav" Andreev2024-03-30 03:17:13 +0400
Fixed memory allocation for addrbook_t. Ditched a separate init function and moved allocation to add func. Added a variable to store the capacity of an array.Alexander "Arav" Andreev2024-03-28 17:52:14 +0400
In net.c sockaddr structures' had their *_len fields set to 0, so recvfrom didn't fill an inaddr field.Alexander "Arav" Andreev2024-03-25 05:02:05 +0400
Made separate streams for in and out sound. WIll be very handy for muting a microphone and your companion.Alexander "Arav" Andreev2024-03-25 01:05:29 +0400
In Makefile use LDFLAGS only for build of an executable, and CFLAGS only for build of the object files.Alexander "Arav" Andreev2024-03-25 00:54:18 +0400
In order to support both IPv4 and IPv6 store a type struct sockaddr. Also remove specifying af_family as an arg. It will be determined using a getaddrinfo() func.Alexander "Arav" Andreev2024-03-24 19:38:00 +0400
In Makefile added _POSIX_C_SOURCE=200112L in order to use getaddrinfo(). Also added -f flag to an rm util to ignore non-existent files.Alexander "Arav" Andreev2024-03-24 19:29:45 +0400
In net_send() remove a const modifier from buf_len. In net_recv() a const modifier was added to a pointer to buf.Alexander "Arav" Andreev2024-03-24 16:50:49 +0400
A buffer was removed from a struct net_t. Use external buffer for data receiving. net_sendto -> net_send and net_recvfrom -> net_recv.Alexander "Arav" Andreev2024-03-24 16:31:10 +0400
Changed a crypt_hello_get_nonce func because now a half of a nonce is placed after a pub key and before a signature.Alexander "Arav" Andreev2024-03-24 05:56:30 +0400
Oh, because of goto used some var can never be presented, so lets move them right before the first use of a goto.Alexander "Arav" Andreev2024-03-24 04:56:02 +0400
Well, actually, let a crypt_hello_get_nonce func return just a "unsigned char *" without a const modifier.Alexander "Arav" Andreev2024-03-24 04:54:59 +0400
Removed an absolutely clueless const modifier from a bool argument that was introduced during a usual late night programming session. :)Alexander "Arav" Andreev2024-03-24 02:23:57 +0400
Now hello has a half of a nonce is being generated. A crypt_hello_get_nonce() func was introduced to make a full-length nonce.Alexander "Arav" Andreev2024-03-24 02:18:27 +0400
A crypt module had many changes. *_destroy() funcs were added to securely erase the keys. A set of new defines were introduced to mask the ones from a libsodium. Funcs for load and store the keys in a FILE. Added a crypt_hello() func.Alexander "Arav" Andreev2024-03-23 04:21:41 +0400
In an audio module: 1) removed a commented out block of code; 2) uint8_t -> unsigned char; 3) size_t -> int; 4) make audio_read() return a number of encoded bytes or -1 on an error.Alexander "Arav" Andreev2024-03-23 04:17:19 +0400