]> Kevux Git Server - fll/commit
Update: Controller and control.
authorKevin Day <thekevinday@gmail.com>
Mon, 21 Feb 2022 01:52:21 +0000 (19:52 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 21 Feb 2022 01:52:21 +0000 (19:52 -0600)
commit981cd720f8b9d53580d1b7c067d8c8ee647a6d98
tree3cc343b8c711b24351ab31f3b0f8669549322d69
parentcc4170426ac31eb5703cc5d7b22ffc3b2519a11d
Update: Controller and control.

Fix bug in control where parameter should be "settings" and not "socket".

The controller can now detect the current path and provide a canonical relative path only for paths whose actual canonical path is within the current working directory that the controller program started in.

Fix printing of the help in the controller program (missing slashes).

Don't create socket and pid files when running validate and simulate.
When running simulate, still create the pid and socket files as appropriate.
Add new entry setting to allow explicitly setting the pid file path.

Remove no longer necessary functions that ensure terminating NULL.
The recent changes in the string functions now guarantee this.

Remove a lot of todo comments.
I will either get to them or not.

I plan on getting to writing IKI support.
It needs to happen and I can use the Fake program as an example.
18 files changed:
level_3/control/c/private-control.c
level_3/controller/c/common/private-setting.c
level_3/controller/c/common/private-setting.h
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/controller/private-controller.c
level_3/controller/c/controller/private-controller.h
level_3/controller/c/entry/private-entry.c
level_3/controller/c/entry/private-entry.h
level_3/controller/c/entry/private-entry_print.c
level_3/controller/c/entry/private-entry_print.h
level_3/controller/c/rule/private-rule.c
level_3/controller/c/rule/private-rule.h
level_3/controller/data/settings/example/entries/up.entry
level_3/controller/data/settings/example/rules/script/create_socket_path.rule [new file with mode: 0644]
level_3/controller/documents/entry.txt
level_3/controller/documents/rule.txt
level_3/controller/specifications/entry.txt