Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Sorry, I do not understand what you are saying here. You somehow suggest that the high-level API only works for LCDproc?
This is no problem, as mounting will usually be done during installation, which happens at the host system.
No of course not, but you said that a
If you use a different system to mount (not sure how that would even work), then you might as well use that system again to change configuration.
Of course. I am talking about a simple elektraOpen elektraGet elektraClose tool.
If you use Elektra with the same plugins, this is perfectly well working and fully supported (with a different set of plugins it might happen that plugins are mounted that are not available on the target system). Simply export system/elektra/mountpoints and import it somewhere else.
I still don't see why we would use the high-level API for that? It is not designed for such a tool. The high-level API is designed for applications loading and using their own configuration.
You would also have to specify the parent key as a separate argument on the command line, so that we know how to call
In short the tool would not be simple at all and in fact would just be needlessly complicated.
However, a tool written in C using the low-level API but including some type support would probably make sense.
Import/Export also wouldn't work with the high-level API (or more accurately they would be hugely complicated because of all the conversion involved).