]> Kevux Git Server - fll/commit
Progress: start getting FSS, as well as other programs, more consistent.
authorKevin Day <thekevinday@gmail.com>
Mon, 21 Sep 2020 05:19:07 +0000 (00:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 21 Sep 2020 05:19:07 +0000 (00:19 -0500)
commit509fb296896651c7ef50d1d96fa8d2f6ff7dfdb9
tree39232a7521bc6faab839d768a2c645cb13c3c3e6
parent852f792fa8fd85f6abca93f5528f47bda068aec9
Progress: start getting FSS, as well as other programs, more consistent.

I ended up liking how I made iki_write better than how I made the fss write functions.
Work began to make these more similar and consistent and I stumbled on some other things that need to be centralized.

This would be the verbosity options and parameter decision making.
This includes related changes.

I also noticed that I started working on the "++status" parameter idea but left it very incomplete.
This formalizes the basic plan where I will instead have a "++status_in" and a "++status_out".
This should be very useful for having programs return status codes as well as read those via environment variables given than the status code the Linux code uses reserves the higher order bits for process signals.
It would be too risky and likely buggy to mix my internal status code system with the standard Linux signal/error status code design.
A sting can be read very easily in an environment variable and converted to the appropriate uint16_t digit.

The work in regards to making FSS and other programs more consistent is incompletely and will likely result in uncompilable code with this commit.
31 files changed:
level_0/f_console/c/console-common.h
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/byte_dump.h
level_3/fake/c/fake.c
level_3/fake/c/fake.h
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/fss_basic_list_write.h
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/fss_basic_write.h
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/fss_extended_write.h
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/fss_status_code.h
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/iki_read.h
level_3/iki_write/c/iki_write.c
level_3/iki_write/c/iki_write.h
level_3/init/c/init.c
level_3/init/c/init.h
level_3/status_code/c/status_code.c
level_3/status_code/c/status_code.h