core: use NMActiveConnection objects throughout activation paths

They are the basic class that tracks active connections, and we're
going to use them for connection dependencies.  So use the fact that
both NMVPNConnection and NMActRequest have the same base class
instead of using object paths.
This commit is contained in:
Dan Williams
2012-02-23 10:00:08 -06:00
parent 65a13f9d8a
commit 7aa2a8271d
6 changed files with 87 additions and 61 deletions

View File

@@ -52,7 +52,8 @@ NMActRequest *nm_act_request_new (NMConnection *connection,
gboolean user_requested,
gulong user_uid,
gboolean assumed,
gpointer *device); /* An NMDevice */
gpointer *device, /* An NMDevice */
NMActiveConnection *master);
NMConnection *nm_act_request_get_connection (NMActRequest *req);