
nm_keyfile_read() and nm_keyfile_write() will be public API. As such, it must be flexible and extendible for future needs. There is already the handler callback that fully solves this (e.g. a future handler event could request whether a certain behavior is enabled or not). As additional possibility for future extension, add a flags argument. Currently no flags are implemented.