polkitcheckauthorizationflags.h | polkitcheckauthorizationflags.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#error "Only <polkit/polkit.h> can be included directly, this file may disa ppear or change contents." | #error "Only <polkit/polkit.h> can be included directly, this file may disa ppear or change contents." | |||
#endif | #endif | |||
#ifndef __POLKIT_CHECK_AUTHORIZATION_FLAGS_H | #ifndef __POLKIT_CHECK_AUTHORIZATION_FLAGS_H | |||
#define __POLKIT_CHECK_AUTHORIZATION_FLAGS_H | #define __POLKIT_CHECK_AUTHORIZATION_FLAGS_H | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
GType polkit_check_authorization_flags_get_type (void) G_GNUC_CONST; | ||||
#define POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS (polkit_check_authorization_f | ||||
lags_get_type ()) | ||||
/** | /** | |||
* PolkitCheckAuthorizationFlags: | * PolkitCheckAuthorizationFlags: | |||
* @POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE: No flags set. | * @POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE: No flags set. | |||
* @POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION: If the subject can obtain the authorization | * @POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION: If the subject can obtain the authorization | |||
* through authentication, and an authentication agent is available, then a ttempt to do so. Note, this | * through authentication, and an authentication agent is available, then a ttempt to do so. Note, this | |||
* means that the method used for checking authorization is likely to block for a long time. | * means that the method used for checking authorization is likely to block for a long time. | |||
* | * | |||
* Possible flags when checking authorizations. | * Possible flags when checking authorizations. | |||
*/ | */ | |||
typedef enum | typedef enum | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 0 lines changed or added | |||
polkiterror.h | polkiterror.h | |||
---|---|---|---|---|
skipping to change at line 43 | skipping to change at line 43 | |||
/** | /** | |||
* POLKIT_ERROR: | * POLKIT_ERROR: | |||
* | * | |||
* Error domain for errors when using PolicyKit. Errors in this domain will be from the #PolkitError | * Error domain for errors when using PolicyKit. Errors in this domain will be from the #PolkitError | |||
* enumeration. See #GError for information on error domains | * enumeration. See #GError for information on error domains | |||
*/ | */ | |||
#define POLKIT_ERROR (polkit_error_quark()) | #define POLKIT_ERROR (polkit_error_quark()) | |||
GQuark polkit_error_quark (void); | GQuark polkit_error_quark (void); | |||
GType polkit_error_get_type (void) G_GNUC_CONST; | ||||
#define POLKIT_TYPE_ERROR (polkit_error_get_type ()) | ||||
/** | /** | |||
* PolkitError: | * PolkitError: | |||
* @POLKIT_ERROR_FAILED: The operation failed. | * @POLKIT_ERROR_FAILED: The operation failed. | |||
* @POLKIT_ERROR_CANCELLED: The operation was cancelled. | * @POLKIT_ERROR_CANCELLED: The operation was cancelled. | |||
* @POLKIT_ERROR_NOT_SUPPORTED: Operation is not supported. | * @POLKIT_ERROR_NOT_SUPPORTED: Operation is not supported. | |||
* @POLKIT_ERROR_NOT_AUTHORIZED: Not authorized to perform operation. | * @POLKIT_ERROR_NOT_AUTHORIZED: Not authorized to perform operation. | |||
* | * | |||
* Possible error when using PolicyKit. | * Possible error when using PolicyKit. | |||
*/ | */ | |||
typedef enum | typedef enum | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 0 lines changed or added | |||
polkitimplicitauthorization.h | polkitimplicitauthorization.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#error "Only <polkit/polkit.h> can be included directly, this file may disa ppear or change contents." | #error "Only <polkit/polkit.h> can be included directly, this file may disa ppear or change contents." | |||
#endif | #endif | |||
#ifndef __POLKIT_IMPLICIT_AUTHORIZATION_H | #ifndef __POLKIT_IMPLICIT_AUTHORIZATION_H | |||
#define __POLKIT_IMPLICIT_AUTHORIZATION_H | #define __POLKIT_IMPLICIT_AUTHORIZATION_H | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
GType polkit_implicit_authorization_get_type (void) G_GNUC_CONST; | ||||
#define POLKIT_TYPE_IMPLICIT_AUTHORIZATION (polkit_implicit_authorization_g | ||||
et_type ()) | ||||
/** | /** | |||
* PolkitImplicitAuthorization: | * PolkitImplicitAuthorization: | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN: Unknown whether the subject is a uthorized, never returned in any public API. | * @POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN: Unknown whether the subject is a uthorized, never returned in any public API. | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED: Subject is not authorized . | * @POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED: Subject is not authorized . | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED: Authentication i s required. | * @POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED: Authentication i s required. | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED: Au thentication as an administrator is required. | * @POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED: Au thentication as an administrator is required. | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED_RETAINED: Authent ication is required. If the authorization is obtained, it is retained. | * @POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED_RETAINED: Authent ication is required. If the authorization is obtained, it is retained. | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED_RET AINED: Authentication as an administrator is required. If the authorization is obtained, it is retained. | * @POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED_RET AINED: Authentication as an administrator is required. If the authorization is obtained, it is retained. | |||
* @POLKIT_IMPLICIT_AUTHORIZATION_AUTHORIZED: The subject is authorized | * @POLKIT_IMPLICIT_AUTHORIZATION_AUTHORIZED: The subject is authorized | |||
* | * | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 0 lines changed or added | |||