ewebkit2  1.11.0
Web engine based on WebKit2 for EFL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
ewk_application_cache_manager.h File Reference

Describes the Ewk Application Cache Manager API. More...

#include "ewk_security_origin.h"
#include <Eina.h>

Go to the source code of this file.

Typedefs

typedef struct
EwkApplicationCacheManager 
Ewk_Application_Cache_Manager
 
typedef void(* Ewk_Application_Cache_Origins_Async_Get_Cb )(Eina_List *origins, void *user_data)
 Callback for ewk_application_cache_manager_origins_async_get. More...
 

Functions

EAPI void ewk_application_cache_manager_origins_async_get (const Ewk_Application_Cache_Manager *manager, Ewk_Application_Cache_Origins_Async_Get_Cb callback, void *user_data)
 
EAPI Eina_Bool ewk_application_cache_manager_clear (Ewk_Application_Cache_Manager *manager)
 
EAPI Eina_Bool ewk_application_cache_manager_entries_for_origin_del (Ewk_Application_Cache_Manager *manager, Ewk_Security_Origin *origin)
 

Detailed Description

Describes the Ewk Application Cache Manager API.

Typedef Documentation

typedef struct EwkApplicationCacheManager Ewk_Application_Cache_Manager

Creates a type name for Ewk_Application_Cache_Manager

Ewk_Application_Cache_Origins_Async_Get_Cb Ewk_Application_Cache_Origins_Async_Get_Cb

Callback for ewk_application_cache_manager_origins_async_get.

Note
The origins should be freed like below code after use.
static void
_origins_get_cb(Eina_List* origins, data)
{
// ...
void *origin;
EINA_LIST_FREE(origins, origin)
}

Function Documentation

EAPI Eina_Bool ewk_application_cache_manager_clear ( Ewk_Application_Cache_Manager manager)

Deletes all web application caches.

Parameters
managerEwk_Application_Cache_Manager object
Returns
EINA_TRUE on successful request or EINA FALSE on failure
EAPI Eina_Bool ewk_application_cache_manager_entries_for_origin_del ( Ewk_Application_Cache_Manager manager,
Ewk_Security_Origin origin 
)

Deletes web application caches for the specified origin.

Parameters
managerEwk_Application_Cache_Manager object
originsecurity origin
Returns
EINA_TRUE on successful request or EINA_FALSE on failure
EAPI void ewk_application_cache_manager_origins_async_get ( const Ewk_Application_Cache_Manager manager,
Ewk_Application_Cache_Origins_Async_Get_Cb  callback,
void *  user_data 
)

Requests for getting web application cache origins.

Parameters
managerEwk_Application_Cache_Manager object
callbackcallback to get web application cache origins
user_datauser_data will be passsed when result_callback is called
See Also
Ewk_Application_Cache_Origins_Async_Get_Cb