]> Kevux Git Server - fll/commit
Update: improve status code handling, remove unnecessary code, and update status...
authorKevin Day <thekevinday@gmail.com>
Sat, 31 Aug 2019 23:07:16 +0000 (18:07 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 31 Aug 2019 23:12:05 +0000 (18:12 -0500)
commit6ab684f6f3e7afcd1a2e8dea2cc639e14d6b6788
tree18fea1771775a7ffe08bcee9d6df010c71754793
parent477060c30477bd138a92da77ee2da51195a0e0f2
Update: improve status code handling, remove unnecessary code, and update status programs

The fl_status_is_fine(), fl_status_is_warning(), and fl_status_is_error() functions are no longer needed or valid with the current design around using error and warning bits.

The status conversion code should be more aware of digits.

Get rid of the "context" parameter in the status programs.
Redesign logic in the status programs to work with changes and function correctly (and consistently).
The status programs will eventually need to perform more extensive tests on parameters when digits or non-digits are required.
The current design only provides a very basic test on the first character of a given parameter.
18 files changed:
level_0/f_conversion/c/conversion.c
level_1/fl_status/c/status.c
level_1/fl_status/c/status.h
level_2/fll_fss/c/fss_status.c
level_2/fll_fss/c/fss_status.h
level_2/fll_fss/data/build/dependencies
level_2/fll_fss/data/build/settings
level_2/fll_status/c/status.c
level_2/fll_status/c/status.h
level_2/fll_status/data/build/dependencies
level_2/fll_status/data/build/settings
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/fss_status_code.h
level_3/fss_status_code/c/main.c
level_3/status_code/c/main.c
level_3/status_code/c/status_code.c
level_3/status_code/c/status_code.h
level_3/status_code/data/build/dependencies