]> Kevux Git Server - controller/commit
Progress: Begin implementing controlfile and initfile support.
authorKevin Day <Kevin@kevux.org>
Mon, 17 Nov 2025 00:16:18 +0000 (18:16 -0600)
committerKevin Day <Kevin@kevux.org>
Mon, 17 Nov 2025 00:30:23 +0000 (18:30 -0600)
commit1c0c1913def6057649ea782715876465abfa64b3
tree7ca87f5a390061229b7123f4610254a80f2040f8
parent76c06417eae6fa555dd6cd0c449fa4bcb3b1b472
Progress: Begin implementing controlfile and initfile support.

The specifications are now implemented.
Provide examples of the  `controlfile` and the `initfile`.

Comments some TODO's that I am thinking about and will set aside for future consideration.
These TODO's will be removed once I wrap up the `controlfile` support regardless of whether or not I implement the TODOs.

The `controller` and `init` programs have the basic file support setup, but no function to actually process these are implemented yet.

My goal is to pre-process these files and then pass them along to the normal load functions.
Ideally, the file should need only be loaded in memory once.

I broke out some of the `controller_process()` functionality into another functions `controller_process_prepare()` and `controller_process_run()` for organizational purposes.

There are potentially some stale TODO/`@todo` comments that will be addressed and removed as I complete this functionality.
20 files changed:
data/build/defines
data/build/settings
data/build/settings.controller
data/build/settings.init
data/data/controller/example/controlfile/controlfile [new file with mode: 0644]
data/data/controller/example/controlfile/initfile [new file with mode: 0644]
documents/controlfile.txt [new file with mode: 0644]
documents/initfile.txt [new file with mode: 0644]
sources/c/program/controller/controller/string.c
sources/c/program/controller/controller/string.h
sources/c/program/controller/init/string.c
sources/c/program/controller/init/string.h
sources/c/program/controller/main/common/define.h
sources/c/program/controller/main/common/string.c
sources/c/program/controller/main/common/string.h
sources/c/program/controller/main/entry.c
sources/c/program/controller/main/process.c
sources/c/program/controller/main/process.h
specifications/controlfile.txt [new file with mode: 0644]
specifications/initfile.txt [new file with mode: 0644]