diff options
| author | Michael Biebl <biebl@debian.org> | 2011-05-27 19:57:25 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-05-27 19:57:25 +0200 |
| commit | d465e5fac63f36bcf4069e36827f4b62c494556d (patch) | |
| tree | 65f4ba9567e091233cdf3279f7ba3c9479e74a1c /src/nm-manager-auth.h | |
| parent | 9f806e97a24bba61417ae312fcc0da40914266fb (diff) | |
Imported Upstream version 0.8.9997 upstream/0.8.9997
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 */ |