diff options
author | Dan Williams <dcbw@redhat.com> | 2010-04-15 15:18:08 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-04-15 15:18:08 -0700 |
commit | e2ad8c2a5410c734a58ab22ee4e14579dfc6542b (patch) | |
tree | 46f000b2685d2270c6ce6fece03879ed204cb4ec /libnm-glib/nm-active-connection.h | |
parent | 5e6ae3b226ecf6b05924b8d4113501fa2c4a82ea (diff) | |
download | NetworkManager-e2ad8c2a5410c734a58ab22ee4e14579dfc6542b.tar.gz |
core: add 'default6' property for ActiveConnection objects
Since IPv4 and IPv6 have different routing one device can have the
active IPv4 connection and a completely different one can have the
active IPv6 one.
Diffstat (limited to 'libnm-glib/nm-active-connection.h')
-rw-r--r-- | libnm-glib/nm-active-connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-glib/nm-active-connection.h b/libnm-glib/nm-active-connection.h index f717c055ef..30edf047a0 100644 --- a/libnm-glib/nm-active-connection.h +++ b/libnm-glib/nm-active-connection.h @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2007 - 2008 Red Hat, Inc. + * Copyright (C) 2007 - 2010 Red Hat, Inc. * Copyright (C) 2008 Novell, Inc. */ @@ -45,6 +45,7 @@ G_BEGIN_DECLS #define NM_ACTIVE_CONNECTION_DEVICES "devices" #define NM_ACTIVE_CONNECTION_STATE "state" #define NM_ACTIVE_CONNECTION_DEFAULT "default" +#define NM_ACTIVE_CONNECTION_DEFAULT6 "default6" typedef struct { NMObject parent; @@ -73,6 +74,7 @@ const char * nm_active_connection_get_specific_object (NMActiveConnection *c const GPtrArray *nm_active_connection_get_devices (NMActiveConnection *connection); NMActiveConnectionState nm_active_connection_get_state (NMActiveConnection *connection); gboolean nm_active_connection_get_default (NMActiveConnection *connection); +gboolean nm_active_connection_get_default6 (NMActiveConnection *connection); G_END_DECLS |