]> Kevux Git Server - kevux-tools/commit
Update: Provide a way to use different file names for both send and receive as well...
authorKevin Day <Kevin@kevux.org>
Sun, 30 Nov 2025 01:53:51 +0000 (19:53 -0600)
committerKevin Day <Kevin@kevux.org>
Sun, 30 Nov 2025 02:09:53 +0000 (20:09 -0600)
commita82ae0d4cbe9d00569fa66d64d7d1acfe907bb59
treee5a757e9e029b87c168c57934e480388d2c5f3f5
parent8c076c6a9a8b38df96367cdfb15c0c1aaa14e768
Update: Provide a way to use different file names for both send and receive as well as other changes.

Utilize the set flag for defining the state on whether or not to keep the senders file name when receiving.
Utilize the set flag for defining whether or not the send is a send set or a receive set.

Provide a `-a` or `--as` parameter for a sender to declare a custom name for some file being transferred.

Do not pre-check or pre-write to files when the file name will only be known once a packet is received.

The direction string no longer needs to be passed to functions now that the set flag defines what direction it is.

Consistently add new lines at the start of the message printing.

Do not reset the set flag on initialization (resetting).
Rename the initialization functions to use the word "reset" to avoid confusion with the real initialization process.

Print verbose log message declaring the name of the received file when keeping the senders file name and when headers are not printed.

Fix mistake where the `kt_tacocat_socket_step_receive_find_e` is incorrectly being compared against the set flag rather than the set step.

Fix problems preventing stand alone builds from compiling.
28 files changed:
data/build/stand_alone/configs/remove-config.h
data/build/stand_alone/configs/tacocat-config.h
data/build/stand_alone/settings/settings.tacocat
sources/c/program/kevux/tools/tacocat/main/common.c
sources/c/program/kevux/tools/tacocat/main/common/define.h
sources/c/program/kevux/tools/tacocat/main/common/enumeration.h
sources/c/program/kevux/tools/tacocat/main/common/string.c
sources/c/program/kevux/tools/tacocat/main/common/string.h
sources/c/program/kevux/tools/tacocat/main/common/type.c
sources/c/program/kevux/tools/tacocat/main/common/type.h
sources/c/program/kevux/tools/tacocat/main/packet.c
sources/c/program/kevux/tools/tacocat/main/packet.h
sources/c/program/kevux/tools/tacocat/main/print/error.c
sources/c/program/kevux/tools/tacocat/main/print/message.c
sources/c/program/kevux/tools/tacocat/main/print/message.h
sources/c/program/kevux/tools/tacocat/main/process.c
sources/c/program/kevux/tools/tacocat/main/receive.c
sources/c/program/kevux/tools/tacocat/main/receive.h
sources/c/program/kevux/tools/tacocat/main/receive/step/check.c
sources/c/program/kevux/tools/tacocat/main/receive/step/control.c
sources/c/program/kevux/tools/tacocat/main/receive/step/done.c
sources/c/program/kevux/tools/tacocat/main/receive/step/extract.c
sources/c/program/kevux/tools/tacocat/main/receive/step/packet.c
sources/c/program/kevux/tools/tacocat/main/receive/step/write.c
sources/c/program/kevux/tools/tacocat/main/send.c
sources/c/program/kevux/tools/tacocat/main/send.h
sources/c/program/kevux/tools/tacocat/main/send/step/done.c
sources/c/program/kevux/tools/tacocat/main/send/step/size.c