| Epiphany Reference Manual |
|---|
ephy-permission-manager —
#define EPHY_TYPE_PERMISSION_INFO enum EphyPermissionType; EphyPermissionInfo* ephy_permission_info_new (const char *host, EphyPermissionType type, gboolean allowed); EphyPermissionInfo* ephy_permission_info_copy (const EphyPermissionInfo *info); void ephy_permission_info_free (EphyPermissionInfo *info); GType ephy_permission_manager_get_type (void); void ephy_permission_manager_add (EphyPermissionManager *manager, const char *host, EphyPermissionType type, gboolean allow); void ephy_permission_manager_remove (EphyPermissionManager *manager, const char *host, EphyPermissionType type); void ephy_permission_manager_clear (EphyPermissionManager *manager); gboolean ephy_permission_manager_test (EphyPermissionManager *manager, const char *host, EphyPermissionType type); GList* ephy_permission_manager_list (EphyPermissionManager *manager, EphyPermissionType type);
EphyPermissionInfo* ephy_permission_info_new
(const char *host,
EphyPermissionType type,
gboolean allowed);
| host: | |
| type: | |
| allowed: | |
| Returns : |
EphyPermissionInfo* ephy_permission_info_copy
(const EphyPermissionInfo *info);
| info: | |
| Returns : |
void ephy_permission_info_free (EphyPermissionInfo *info);
Frees info.
| info: |
void ephy_permission_manager_add (EphyPermissionManager *manager,
const char *host,
EphyPermissionType type,
gboolean allow);Adds the permission allow of type type for host host to the permissions database.
| manager: | |
| host: | |
| type: | |
| allow: |
void ephy_permission_manager_remove (EphyPermissionManager *manager,
const char *host,
EphyPermissionType type);Removes the permission of type type for host host from the permissions database.
| manager: | |
| host: | |
| type: |
void ephy_permission_manager_clear (EphyPermissionManager *manager);
Clears the permissions database.
| manager: |
gboolean ephy_permission_manager_test (EphyPermissionManager *manager,
const char *host,
EphyPermissionType type);Tests whether the host host is allowed to do the action specified by type.
| manager: | |
| host: | |
| type: | |
| Returns : |
GList* ephy_permission_manager_list (EphyPermissionManager *manager,
EphyPermissionType type);Lists all permission entries of type type in the permissions database.
| manager: | |
| type: | |
| Returns : |
| << ephy-password-manager | ephy-session >> |