Is there a C or C++ library available for parsing, editing, and writing /etc/network/interfaces on Linux (in the form described at http://manpages.ubuntu.com/manpages/hardy/man5/interfaces.5.html)?
http://augeas.net/
Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With