ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk Storage Manager API. More...
Go to the source code of this file.
Typedefs | |
typedef struct EwkStorageManager | Ewk_Storage_Manager |
typedef void(* | Ewk_Storage_Origins_Async_Get_Cb )(Eina_List *origins, void *user_data) |
Callback type for use with ewk_storage_manager_origins_async_get(). More... | |
Functions | |
EAPI Eina_Bool | ewk_storage_manager_origins_async_get (const Ewk_Storage_Manager *manager, Ewk_Storage_Origins_Async_Get_Cb callback, void *user_data) |
EAPI Eina_Bool | ewk_storage_manager_entries_clear (Ewk_Storage_Manager *manager) |
EAPI Eina_Bool | ewk_storage_manager_entries_for_origin_del (Ewk_Storage_Manager *manager, Ewk_Security_Origin *origin) |
Describes the Ewk Storage Manager API.
Ewk Storage Manager manages web storage.
typedef struct EwkStorageManager Ewk_Storage_Manager |
Creates a type name for Ewk_Storage_Manager.
Ewk_Storage_Origins_Async_Get_Cb Ewk_Storage_Origins_Async_Get_Cb |
Callback type for use with ewk_storage_manager_origins_async_get().
origins | Eina_List containing Ewk_Security_Origin elements. |
EAPI Eina_Bool ewk_storage_manager_entries_clear | ( | Ewk_Storage_Manager * | manager) |
Deletes all local storage.
manager | Ewk_Storage_Manager object |
EINA_TRUE
on success, EINA_FALSE
on failure EAPI Eina_Bool ewk_storage_manager_entries_for_origin_del | ( | Ewk_Storage_Manager * | manager, |
Ewk_Security_Origin * | origin | ||
) |
Deletes local storage for the specified origin.
manager | Ewk_Storage_Manager object |
origin | security origin |
EINA_TRUE
on success, EINA_FALSE
on failure EAPI Eina_Bool ewk_storage_manager_origins_async_get | ( | const Ewk_Storage_Manager * | manager, |
Ewk_Storage_Origins_Async_Get_Cb | callback, | ||
void * | user_data | ||
) |
Gets list of origins that are stored in storage db asynchronously.
This function allocates memory for context structure made from callback and user_data.
manager | Ewk_Storage_Manager object |
callback | callback to get storage origins |
user_data | user_data will be passed when result_callback is called, -i.e., user data will be kept until callback is called |
EINA_TRUE
on success, EINA_FALSE
on failure