]> Kevux Git Server - fll/commit
Cleanup: Break apart controller sources.
authorKevin Day <thekevinday@gmail.com>
Tue, 2 Nov 2021 03:49:49 +0000 (22:49 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 2 Nov 2021 03:57:48 +0000 (22:57 -0500)
commita5efb0500116cda22b6024ebc23205c3a11eecc4
tree0445de83f0bfb65747b076202d659ba3058381bd
parent5c77cbcd5d0c1d4bb154033c1001ff808a8c59e9
Cleanup: Break apart controller sources.

The functions have gotten too large an are in a need of cleanup.
Create additional source files and move functions around as appropriate.

Do some function renaming as well.

Move the print functions into separate print source files.
This is done only for functions whose sole purpose is printing and is not nor should it be done for functions that happen to have printing within them.

The entry pre-process and process functions should be in the entry source files.
Fix the name of those functions to start with "controller_entry_" rather than starting with "controller_process_".

Move any structure construct and destruct functions into the common.h and common.c that are not already there.

Break out the build settings file settings into multiple lines.
I prefer not to have too many extra lines, but there is a point when the lines get absurdly too long.
The lines are broken up by some context or pattern.
37 files changed:
level_3/controller/c/controller.c
level_3/controller/c/private-common.c
level_3/controller/c/private-common.h
level_3/controller/c/private-control.c
level_3/controller/c/private-control_print.c [new file with mode: 0644]
level_3/controller/c/private-control_print.h [new file with mode: 0644]
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-controller_print.c [new file with mode: 0644]
level_3/controller/c/private-controller_print.h [new file with mode: 0644]
level_3/controller/c/private-entry.c
level_3/controller/c/private-entry.h
level_3/controller/c/private-entry_print.c [new file with mode: 0644]
level_3/controller/c/private-entry_print.h [new file with mode: 0644]
level_3/controller/c/private-lock.c [new file with mode: 0644]
level_3/controller/c/private-lock.h [new file with mode: 0644]
level_3/controller/c/private-lock_print.c [new file with mode: 0644]
level_3/controller/c/private-lock_print.h [new file with mode: 0644]
level_3/controller/c/private-process.c [new file with mode: 0644]
level_3/controller/c/private-process.h [new file with mode: 0644]
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/controller/c/private-rule_print.c [new file with mode: 0644]
level_3/controller/c/private-rule_print.h [new file with mode: 0644]
level_3/controller/c/private-thread.c
level_3/controller/c/private-thread.h
level_3/controller/c/private-thread_control.c [new file with mode: 0644]
level_3/controller/c/private-thread_control.h [new file with mode: 0644]
level_3/controller/c/private-thread_entry.c [new file with mode: 0644]
level_3/controller/c/private-thread_entry.h [new file with mode: 0644]
level_3/controller/c/private-thread_process.c [new file with mode: 0644]
level_3/controller/c/private-thread_process.h [new file with mode: 0644]
level_3/controller/c/private-thread_rule.c [new file with mode: 0644]
level_3/controller/c/private-thread_rule.h [new file with mode: 0644]
level_3/controller/c/private-thread_signal.c [new file with mode: 0644]
level_3/controller/c/private-thread_signal.h [new file with mode: 0644]
level_3/controller/data/build/settings