This PR adds improvements to the CLI, fixing segmentation fault when TMP_PATH variable was not set and adding a way to check for information about the daemon. Also improves the code by changing more C++ keywords to C keywords.
Why
This allows the WebUI to be possible, but also improves the stability of the project. C is also a faster and more efficient language than C++, which is necessary here.
Checkmarks
[x] The modified functions have been tested.
[x] Used the same indentation as the rest of the project.
Changes
This PR adds improvements to the CLI, fixing segmentation fault when
TMP_PATH
variable was not set and adding a way to check for information about the daemon. Also improves the code by changing more C++ keywords to C keywords.Why
This allows the WebUI to be possible, but also improves the stability of the project. C is also a faster and more efficient language than C++, which is necessary here.
Checkmarks