diff options
author | Dan Williams <dcbw@redhat.com> | 2013-07-29 13:11:47 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-10-31 14:15:08 -0500 |
commit | 0e595abcf3fe783c2d3ac160e7d639c2fcfcca4d (patch) | |
tree | b7409b63c88b3878987c937ad44edeed747e5bda /src/nm-active-connection.h | |
parent | bcef4231743ecddb27943fb02a4095faabdbb73e (diff) | |
download | NetworkManager-0e595abcf3fe783c2d3ac160e7d639c2fcfcca4d.tar.gz |
core: pass NMAuthSubject around activation paths instead of uid + dbus sender
Diffstat (limited to 'src/nm-active-connection.h')
-rw-r--r-- | src/nm-active-connection.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nm-active-connection.h b/src/nm-active-connection.h index 96bbfedd75..3d3585e4fd 100644 --- a/src/nm-active-connection.h +++ b/src/nm-active-connection.h @@ -24,6 +24,7 @@ #include <glib-object.h> #include "nm-types.h" #include "nm-connection.h" +#include "nm-auth-subject.h" #define NM_TYPE_ACTIVE_CONNECTION (nm_active_connection_get_type ()) #define NM_ACTIVE_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_ACTIVE_CONNECTION, NMActiveConnection)) @@ -46,8 +47,7 @@ /* Internal non-exported construct-time properties */ #define NM_ACTIVE_CONNECTION_INT_CONNECTION "int-connection" #define NM_ACTIVE_CONNECTION_INT_DEVICE "int-device" -#define NM_ACTIVE_CONNECTION_INT_USER_REQUESTED "int-user-requested" -#define NM_ACTIVE_CONNECTION_INT_USER_UID "int-user-uid" +#define NM_ACTIVE_CONNECTION_INT_SUBJECT "int-subject" #define NM_ACTIVE_CONNECTION_INT_MASTER "int-master" @@ -91,6 +91,8 @@ void nm_active_connection_set_state (NMActiveConnection *self, NMDevice * nm_active_connection_get_device (NMActiveConnection *self); +NMAuthSubject *nm_active_connection_get_subject (NMActiveConnection *self); + gboolean nm_active_connection_get_user_requested (NMActiveConnection *self); gulong nm_active_connection_get_user_uid (NMActiveConnection *self); |