diff options
| author | Michael Biebl <biebl@debian.org> | 2011-05-27 19:57:41 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-05-27 19:57:41 +0200 |
| commit | 8529df552804e5cd05ac785f658cd16ab56f7247 (patch) | |
| tree | 30af064ab23262d7eed0c6f44e41c37a94d7911a /src/nm-manager-auth.h | |
| parent | f537c885beb1336d5d497d6261f2d2d8223a57e7 (diff) | |
| parent | d465e5fac63f36bcf4069e36827f4b62c494556d (diff) | |
Merge commit 'upstream/0.8.9997' into experimental
Diffstat (limited to 'src/nm-manager-auth.h')
| -rw-r--r-- | src/nm-manager-auth.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/nm-manager-auth.h b/src/nm-manager-auth.h index 7e7ff7a1..ad14d306 100644 --- a/src/nm-manager-auth.h +++ b/src/nm-manager-auth.h @@ -21,7 +21,6 @@ #ifndef NM_MANAGER_AUTH_H #define NM_MANAGER_AUTH_H -#include <polkit/polkit.h> #include <glib.h> #include <dbus/dbus-glib.h> @@ -56,25 +55,16 @@ typedef void (*NMAuthChainResultFunc) (NMAuthChain *chain, DBusGMethodInvocation *context, gpointer user_data); -typedef void (*NMAuthChainCallFunc) (NMAuthChain *chain, - const char *permission, - GError *error, - NMAuthCallResult result, - gpointer user_data); - -NMAuthChain *nm_auth_chain_new (PolkitAuthority *authority, - DBusGMethodInvocation *context, +NMAuthChain *nm_auth_chain_new (DBusGMethodInvocation *context, DBusGProxy *proxy, NMAuthChainResultFunc done_func, gpointer user_data); -NMAuthChain *nm_auth_chain_new_raw_message (PolkitAuthority *authority, - DBusMessage *message, +NMAuthChain *nm_auth_chain_new_raw_message (DBusMessage *message, NMAuthChainResultFunc done_func, gpointer user_data); -NMAuthChain *nm_auth_chain_new_dbus_sender (PolkitAuthority *authority, - const char *dbus_sender, +NMAuthChain *nm_auth_chain_new_dbus_sender (const char *dbus_sender, NMAuthChainResultFunc done_func, gpointer user_data); @@ -112,5 +102,7 @@ gboolean nm_auth_uid_in_acl (NMConnection *connection, gulong uid, char **out_error_desc); +void nm_auth_set_changed_func (GDestroyNotify callback, gpointer callback_data); + #endif /* NM_MANAGER_AUTH_H */ |