Reputation: 40335
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)?
Upvotes: 6
Views: 3550
Reputation: 6069
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.
Upvotes: 7