keyfile: read MAC addresses and a test framework

Clean up handling of "special" keys in keyfiles, ie ones that
need more processing than the basic GKeyFile API supports.  Add
MAC address reading (writing support to come).

Additionally, add some test bits for the keyfile plugin that get
run on 'make check'.
This commit is contained in:
Dan Williams
2009-01-12 14:21:44 -05:00
parent 0400af7d03
commit 45f2f1144d
15 changed files with 783 additions and 97 deletions

View File

@@ -350,7 +350,7 @@ add_connection (NMSystemConfigInterface *config,
NMConnection *connection,
GError **error)
{
return write_connection (connection, NULL, error);
return write_connection (connection, KEYFILE_DIR, 0, 0, NULL, error);
}
static GSList *