polkitagent.h   polkitagent.h 
skipping to change at line 31 skipping to change at line 31
#ifndef __POLKIT_AGENT_H #ifndef __POLKIT_AGENT_H
#define __POLKIT_AGENT_H #define __POLKIT_AGENT_H
#if !defined (POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE) && !defined (_P OLKIT_AGENT_COMPILATION) #if !defined (POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE) && !defined (_P OLKIT_AGENT_COMPILATION)
#error "libpolkitagent is unstable API and subject to change. You must defi ne POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE to acknowledge this." #error "libpolkitagent is unstable API and subject to change. You must defi ne POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE to acknowledge this."
#endif #endif
#define _POLKIT_AGENT_INSIDE_POLKIT_AGENT_H 1 #define _POLKIT_AGENT_INSIDE_POLKIT_AGENT_H 1
#include <polkitagent/polkitagenttypes.h> #include <polkitagent/polkitagenttypes.h>
#include <polkitagent/polkitagentenumtypes.h>
#include <polkitagent/polkitagentlistener.h> #include <polkitagent/polkitagentlistener.h>
#include <polkitagent/polkitagenttextlistener.h>
#include <polkitagent/polkitagentsession.h> #include <polkitagent/polkitagentsession.h>
#undef _POLKIT_AGENT_INSIDE_POLKIT_AGENT_H #undef _POLKIT_AGENT_INSIDE_POLKIT_AGENT_H
#endif /* __POLKIT_AGENT_H */ #endif /* __POLKIT_AGENT_H */
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 polkitagentlistener.h   polkitagentlistener.h 
skipping to change at line 97 skipping to change at line 97
void (*_polkit_reserved2) (void); void (*_polkit_reserved2) (void);
void (*_polkit_reserved3) (void); void (*_polkit_reserved3) (void);
void (*_polkit_reserved4) (void); void (*_polkit_reserved4) (void);
void (*_polkit_reserved5) (void); void (*_polkit_reserved5) (void);
void (*_polkit_reserved6) (void); void (*_polkit_reserved6) (void);
void (*_polkit_reserved7) (void); void (*_polkit_reserved7) (void);
}; };
GType polkit_agent_listener_get_type (void) G_GN UC_CONST; GType polkit_agent_listener_get_type (void) G_GN UC_CONST;
void polkit_agent_listener_initiate_authentication (PolkitAgen void polkit_agent_listener_initiate_authentication (PolkitAgen
tListener *listener, tListener *listener,
const gcha const gcha
r *action_id, r *action_id,
const gcha const gcha
r *message, r *message,
const gcha const gcha
r *icon_name, r *icon_name,
PolkitDeta PolkitDeta
ils *details, ils *details,
const gcha const gcha
r *cookie, r *cookie,
GList GList
*identities, *identities,
GCancellab GCancellab
le *cancellable, le *cancellable,
GAsyncRead GAsyncRead
yCallback callback, yCallback callback,
gpointer gpointer
user_data); user_data);
gboolean polkit_agent_listener_initiate_authentication_finish (PolkitAgen gboolean polkit_agent_listener_initiate_authentication_finish (PolkitAgen
tListener *listener, tListener *listener,
GAsyncResu GAsyncResu
lt *res, lt *res,
GError GError
**error); **error);
gboolean polkit_agent_register_listener (PolkitAgen gboolean polkit_agent_register_listener (PolkitAgen
tListener *listener, tListener *listener,
PolkitSubj PolkitSubj
ect *subject, ect *subject,
const gcha const gcha
r *object_path, r *object_path,
GError GError
**error); **error) G_GNUC_DEPRECATED_FOR (polkit_authority_listener_reg
ister);
/**
* PolkitAgentRegisterFlags:
* @POLKIT_AGENT_REGISTER_FLAGS_NONE: No flags are set.
* @POLKIT_AGENT_REGISTER_FLAGS_RUN_IN_THREAD: Run the listener in a dedica
ted thread.
*
* Flags used in polkit_agent_listener_register().
*/
typedef enum
{
POLKIT_AGENT_REGISTER_FLAGS_NONE = 0,
POLKIT_AGENT_REGISTER_FLAGS_RUN_IN_THREAD = (1<<0)
} PolkitAgentRegisterFlags;
gpointer polkit_agent_listener_register (PolkitAgen
tListener *listener,
PolkitAgen
tRegisterFlags flags,
PolkitSubj
ect *subject,
const gcha
r *object_path,
GCancellab
le *cancellable,
GError
**error);
void polkit_agent_listener_unregister (gpointer
registration_handle);
G_END_DECLS G_END_DECLS
#endif /* __POLKIT_AGENT_LISTENER_H */ #endif /* __POLKIT_AGENT_LISTENER_H */
 End of changes. 3 change blocks. 
34 lines changed or deleted 65 lines changed or added


 polkitagenttypes.h   polkitagenttypes.h 
skipping to change at line 36 skipping to change at line 36
#ifndef __POLKIT_AGENT_TYPES_H #ifndef __POLKIT_AGENT_TYPES_H
#define __POLKIT_AGENT_TYPES_H #define __POLKIT_AGENT_TYPES_H
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
struct _PolkitAgentListener; struct _PolkitAgentListener;
typedef struct _PolkitAgentListener PolkitAgentListener; typedef struct _PolkitAgentListener PolkitAgentListener;
struct _PolkitAgentTextListener;
typedef struct _PolkitAgentTextListener PolkitAgentTextListener;
struct _PolkitAgentSession; struct _PolkitAgentSession;
typedef struct _PolkitAgentSession PolkitAgentSession; typedef struct _PolkitAgentSession PolkitAgentSession;
G_END_DECLS G_END_DECLS
#endif /* __POLKIT_AGENT_TYPES_H */ #endif /* __POLKIT_AGENT_TYPES_H */
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added


 polkitauthorityfeatures.h   polkitauthorityfeatures.h 
skipping to change at line 38 skipping to change at line 38
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/** /**
* PolkitAuthorityFeatures: * PolkitAuthorityFeatures:
* @POLKIT_AUTHORITY_FEATURES_NONE: No flags set. * @POLKIT_AUTHORITY_FEATURES_NONE: No flags set.
* @POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION: The authority suppor ts temporary authorizations * @POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION: The authority suppor ts temporary authorizations
* that can be obtained through authentication. * that can be obtained through authentication.
* @POLKIT_AUTHORITY_FEATURES_LOCKDOWN: The authority supports the XXX meth od.
* *
* Flags describing features supported by the Authority implementation. * Flags describing features supported by the Authority implementation.
*/ */
typedef enum typedef enum
{ {
POLKIT_AUTHORITY_FEATURES_NONE = 0, POLKIT_AUTHORITY_FEATURES_NONE = 0,
POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION = (1<<0), POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION = (1<<0),
POLKIT_AUTHORITY_FEATURES_LOCKDOWN = (1<<1)
} PolkitAuthorityFeatures; } PolkitAuthorityFeatures;
G_END_DECLS G_END_DECLS
#endif /* __POLKIT_AUTHORITY_FEATURES_H */ #endif /* __POLKIT_AUTHORITY_FEATURES_H */
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added


 polkitbackendauthority.h   polkitbackendauthority.h 
skipping to change at line 65 skipping to change at line 65
* The #PolkitBackendAuthority struct should not be accessed directly. * The #PolkitBackendAuthority struct should not be accessed directly.
*/ */
struct _PolkitBackendAuthority struct _PolkitBackendAuthority
{ {
GObject parent_instance; GObject parent_instance;
}; };
/** /**
* PolkitBackendAuthorityClass: * PolkitBackendAuthorityClass:
* @parent_class: The parent class. * @parent_class: The parent class.
* @changed: Function pointer for #PolkitBackendAuthorityClass::changed sig * @get_name: Function pointer for the polkit_backend_authority_get_name()
nal. function.
* @get_version: Function pointer for the polkit_backend_authority_get_vers
ion() function.
* @get_features: Function pointer for the polkit_backend_authority_get_fea
tures() function.
* @changed: Function pointer for #PolkitBackendAuthority::changed signal.
* @enumerate_actions: Enumerates registered actions on the * @enumerate_actions: Enumerates registered actions on the
* system. See polkit_backend_authority_enumerate_actions() for * system. See polkit_backend_authority_enumerate_actions() for
* details. * details.
* @check_authorization: Called to initiate an asynchronous * @check_authorization: Called to initiate an asynchronous
* authorization check. See * authorization check. See
* polkit_backend_authority_check_authorization() for details. * polkit_backend_authority_check_authorization() for details.
* @check_authorization_finish: Called when finishing an authorization * @check_authorization_finish: Called when finishing an authorization
* check. See polkit_backend_authority_check_authorization_finish() * check. See polkit_backend_authority_check_authorization_finish()
* for details. * for details.
* @register_authentication_agent: Called when an authentication agent * @register_authentication_agent: Called when an authentication agent
skipping to change at line 103 skipping to change at line 106
* for details. * for details.
* @revoke_temporary_authorizations: Called to revoke temporary * @revoke_temporary_authorizations: Called to revoke temporary
* authorizations or %NULL if the backend doesn't support the operation. * authorizations or %NULL if the backend doesn't support the operation.
* See polkit_backend_authority_revoke_temporary_authorizations() * See polkit_backend_authority_revoke_temporary_authorizations()
* for details. * for details.
* @revoke_temporary_authorization_by_id: Called to revoke a temporary * @revoke_temporary_authorization_by_id: Called to revoke a temporary
* authorization identified by id or %NULL if the backend doesn't support * authorization identified by id or %NULL if the backend doesn't support
* the operation. See polkit_backend_authority_revoke_temporary_authorizati on_by_id() * the operation. See polkit_backend_authority_revoke_temporary_authorizati on_by_id()
* for details. * for details.
* *
* VFuncs that authority backends need to implement. * Class structure for #PolkitBackendAuthority.
*/ */
struct _PolkitBackendAuthorityClass struct _PolkitBackendAuthorityClass
{ {
/*< public >*/ /*< public >*/
GObjectClass parent_class; GObjectClass parent_class;
/* Signals */ /* Signals */
void (*changed) (PolkitBackendAuthority *authority); void (*changed) (PolkitBackendAuthority *authority);
/* VTable */ /* VTable */
 End of changes. 2 change blocks. 
3 lines changed or deleted 8 lines changed or added


 polkitidentity.h   polkitidentity.h 
skipping to change at line 73 skipping to change at line 73
guint (*hash) (PolkitIdentity *identity); guint (*hash) (PolkitIdentity *identity);
gboolean (*equal) (PolkitIdentity *a, gboolean (*equal) (PolkitIdentity *a,
PolkitIdentity *b); PolkitIdentity *b);
gchar * (*to_string) (PolkitIdentity *identity); gchar * (*to_string) (PolkitIdentity *identity);
}; };
GType polkit_identity_get_type (void) G_GNUC_CONST; GType polkit_identity_get_type (void) G_GNUC_CONST;
guint polkit_identity_hash (PolkitIdentity *a); guint polkit_identity_hash (PolkitIdentity *identity);
gboolean polkit_identity_equal (PolkitIdentity *a, gboolean polkit_identity_equal (PolkitIdentity *a,
PolkitIdentity *b); PolkitIdentity *b);
gchar *polkit_identity_to_string (PolkitIdentity *identity); gchar *polkit_identity_to_string (PolkitIdentity *identity);
PolkitIdentity *polkit_identity_from_string (const gchar *str, PolkitIdentity *polkit_identity_from_string (const gchar *str,
GError **error); GError **error);
G_END_DECLS G_END_DECLS
#endif /* __POLKIT_IDENTITY_H */ #endif /* __POLKIT_IDENTITY_H */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/