diff options
author | Thomas Haller <thaller@redhat.com> | 2014-03-05 21:11:54 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-03-05 21:15:20 +0100 |
commit | b69f624c986ccf80da660c6d73748ff6e3c7ba3e (patch) | |
tree | bc57c07d432d708e1f2fa55295c937dee37aa588 /src/nm-active-connection.c | |
parent | 950cb2c44f2dbc3e098af4fff2a3ccd6908d58f0 (diff) | |
download | NetworkManager-b69f624c986ccf80da660c6d73748ff6e3c7ba3e.tar.gz |
core: implement function nm_active_connection_get_uuid()
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r-- | src/nm-active-connection.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c index 7e3b1a60b1..43f81893e3 100644 --- a/src/nm-active-connection.c +++ b/src/nm-active-connection.c @@ -183,6 +183,14 @@ nm_active_connection_get_id (NMActiveConnection *self) return nm_connection_get_id (NM_ACTIVE_CONNECTION_GET_PRIVATE (self)->connection); } +const char * +nm_active_connection_get_uuid (NMActiveConnection *self) +{ + g_return_val_if_fail (NM_IS_ACTIVE_CONNECTION (self), NULL); + + return nm_connection_get_uuid (NM_ACTIVE_CONNECTION_GET_PRIVATE (self)->connection); +} + NMConnection * nm_active_connection_get_connection (NMActiveConnection *self) { |