polkitprivate.h   polkitprivate.h 
skipping to change at line 31 skipping to change at line 31
#ifndef __POLKIT_PRIVATE_H #ifndef __POLKIT_PRIVATE_H
#define __POLKIT_PRIVATE_H #define __POLKIT_PRIVATE_H
#include "polkitimplicitauthorization.h" #include "polkitimplicitauthorization.h"
#include "polkitactiondescription.h" #include "polkitactiondescription.h"
#include "polkitsubject.h" #include "polkitsubject.h"
#include "polkitauthorizationresult.h" #include "polkitauthorizationresult.h"
#include "polkittemporaryauthorization.h" #include "polkittemporaryauthorization.h"
/* FIXME: This header file is currently installed among other public header
files, and the symbols are exported in the shared library.
For application writers: relying on any function here is strongly
discouraged.
For polkit maintainers: This should be made private if a large ABI break
were necessary in the future. In the meantime, consider that there is
non-zero risk that changing these functions might break some application
s. */
PolkitActionDescription *polkit_action_description_new_for_gvariant (GVari ant *value); PolkitActionDescription *polkit_action_description_new_for_gvariant (GVari ant *value);
GVariant *polkit_action_description_to_gvariant (PolkitActionDescription *a ction_description); GVariant *polkit_action_description_to_gvariant (PolkitActionDescription *a ction_description);
GVariant *polkit_subject_to_gvariant (PolkitSubject *subject); GVariant *polkit_subject_to_gvariant (PolkitSubject *subject);
GVariant *polkit_identity_to_gvariant (PolkitIdentity *identity); GVariant *polkit_identity_to_gvariant (PolkitIdentity *identity);
PolkitSubject *polkit_subject_new_for_gvariant (GVariant *variant, GError **error); PolkitSubject *polkit_subject_new_for_gvariant (GVariant *variant, GError **error);
PolkitIdentity *polkit_identity_new_for_gvariant (GVariant *variant, GError **error); PolkitIdentity *polkit_identity_new_for_gvariant (GVariant *variant, GError **error);
PolkitAuthorizationResult *polkit_authorization_result_new_for_gvariant (G Variant *value); PolkitAuthorizationResult *polkit_authorization_result_new_for_gvariant (G Variant *value);
GVariant *polkit_authorization_result_to_gvariant (PolkitAuthorizationResul t *authorization_result); GVariant *polkit_authorization_result_to_gvariant (PolkitAuthorizationResul t *authorization_result);
PolkitTemporaryAuthorization *polkit_temporary_authorization_new (const
gchar *id,
const
gchar *action_id,
Polkit
Subject *subject,
guint6
4 time_obtained,
guint6
4 time_expires);
PolkitTemporaryAuthorization *polkit_temporary_authorization_new_for_gvaria nt (GVariant *value, PolkitTemporaryAuthorization *polkit_temporary_authorization_new_for_gvaria nt (GVariant *value,
GError **error); GError **error);
GVariant *polkit_temporary_authorization_to_gvariant (PolkitTemporaryAuthor ization *authorization); GVariant *polkit_temporary_authorization_to_gvariant (PolkitTemporaryAuthor ization *authorization);
GVariant *polkit_details_to_gvariant (PolkitDetails *details); GVariant *polkit_details_to_gvariant (PolkitDetails *details);
PolkitDetails *polkit_details_new_for_gvariant (GVariant *value); PolkitDetails *polkit_details_new_for_gvariant (GVariant *value);
PolkitActionDescription * PolkitActionDescription *
polkit_action_description_new (const gchar *action_id, polkit_action_description_new (const gchar *action_id,
const gchar *description, const gchar *description,
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 polkittemporaryauthorization.h   polkittemporaryauthorization.h 
skipping to change at line 48 skipping to change at line 48
#define POLKIT_TEMPORARY_AUTHORIZATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_C LASS ((o), POLKIT_TYPE_TEMPORARY_AUTHORIZATION, PolkitTemporaryAuthorizatio nClass)) #define POLKIT_TEMPORARY_AUTHORIZATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_C LASS ((o), POLKIT_TYPE_TEMPORARY_AUTHORIZATION, PolkitTemporaryAuthorizatio nClass))
#define POLKIT_IS_TEMPORARY_AUTHORIZATION(o) (G_TYPE_CHECK_INSTANCE _TYPE ((o), POLKIT_TYPE_TEMPORARY_AUTHORIZATION)) #define POLKIT_IS_TEMPORARY_AUTHORIZATION(o) (G_TYPE_CHECK_INSTANCE _TYPE ((o), POLKIT_TYPE_TEMPORARY_AUTHORIZATION))
#define POLKIT_IS_TEMPORARY_AUTHORIZATION_CLASS(k) (G_TYPE_CHECK_CLASS_TY PE ((k), POLKIT_TYPE_TEMPORARY_AUTHORIZATION)) #define POLKIT_IS_TEMPORARY_AUTHORIZATION_CLASS(k) (G_TYPE_CHECK_CLASS_TY PE ((k), POLKIT_TYPE_TEMPORARY_AUTHORIZATION))
#if 0 #if 0
typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization; typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization;
#endif #endif
typedef struct _PolkitTemporaryAuthorizationClass PolkitTemporaryAuthorizat ionClass; typedef struct _PolkitTemporaryAuthorizationClass PolkitTemporaryAuthorizat ionClass;
GType polkit_temporary_authorization_get_type (void) G_GNUC_CONST; GType polkit_temporary_authorization_get_type (void) G_GNUC_CONST;
PolkitTemporaryAuthorization *polkit_temporary_authorization_new (const
gchar *id,
const
gchar *action_id,
Polkit
Subject *subject,
guint6
4 time_obtained,
guint6
4 time_expires);
const gchar *polkit_temporary_authorization_get_id (Polkit TemporaryAuthorization *authorization); const gchar *polkit_temporary_authorization_get_id (Polkit TemporaryAuthorization *authorization);
const gchar *polkit_temporary_authorization_get_action_id (Polkit TemporaryAuthorization *authorization); const gchar *polkit_temporary_authorization_get_action_id (Polkit TemporaryAuthorization *authorization);
PolkitSubject *polkit_temporary_authorization_get_subject (Polkit TemporaryAuthorization *authorization); PolkitSubject *polkit_temporary_authorization_get_subject (Polkit TemporaryAuthorization *authorization);
guint64 polkit_temporary_authorization_get_time_obtained (Polkit TemporaryAuthorization *authorization); guint64 polkit_temporary_authorization_get_time_obtained (Polkit TemporaryAuthorization *authorization);
guint64 polkit_temporary_authorization_get_time_expires (Polkit TemporaryAuthorization *authorization); guint64 polkit_temporary_authorization_get_time_expires (Polkit TemporaryAuthorization *authorization);
G_END_DECLS G_END_DECLS
#endif /* __POLKIT_TEMPORARY_AUTHORIZATION_H */ #endif /* __POLKIT_TEMPORARY_AUTHORIZATION_H */
 End of changes. 1 change blocks. 
10 lines changed or deleted 0 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/