Tasks #1458

Updated by J. Moringen over 10 years ago

This may be implemented as a separate program or as part of the @info@ binary. It should be sufficient to implement this in one language since configuration processing works identical for all languages.

Will best be implemented using the infrastructure from project:rsp. In fact, that project already has prototypical code for this. To give an impression of what the output could look like:
<pre>
<root>
transport
socket
host
| Type STRING
| Default <no default>
| Value "localhost"
| Sources #<RSB-SOURCE {F621D41}>:
| "localhost"
| (:ORIGIN FB2B2B00-22AF-4251-8AE1-EB33E94E8C89
| :CREATE-TIME @2013-12-10T23:38:06.606028+01:00)
|
port
| Type (INTEGER 0 65535)
| Default <no default>
| Value 42343
| Sources #<RSB-SOURCE {F621D41}>:
| 42343
| (:ORIGIN FB2B2B00-22AF-4251-8AE1-EB33E94E8C89
| :CREATE-TIME @2013-12-10T23:38:06.606028+01:00)
| #<FILE-SOURCE ./example-client.conf INI-SYNTAX
| {F677871}>:
| 12345
| (:BOUNDS (19 . 31))
|
| When acting as a client, port on which a remote socket server
| listens. When acting as a server, listen an the specified port.
server
| Type (OR BOOLEAN (MEMBER AUTO))
| Default <no default>
| Value T
| Sources #<RSB-SOURCE {F621D41}>:
| T
| (:ORIGIN FB2B2B00-22AF-4251-8AE1-EB33E94E8C89
| :CREATE-TIME @2013-12-10T23:38:06.606028+01:00)
|
</pre>

Back