ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Security Origin API. More...
#include <Eina.h>
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_Security_Origin |
Functions | |
EAPI const char * | ewk_security_origin_host_get (const Ewk_Security_Origin *o) |
EAPI uint32_t | ewk_security_origin_port_get (const Ewk_Security_Origin *o) |
EAPI const char * | ewk_security_origin_protocol_get (const Ewk_Security_Origin *o) |
Security Origin API.
Security Origin is the mechanism that defines the access limits of a website. Based on information such as domain, protocol and port, you can or cannot grant authorization for accessing data and performing certain tasks.
typedef struct EwkObject Ewk_Security_Origin |
Declare Ewk_Security_Origin as Ewk_Object.
EAPI const char* ewk_security_origin_host_get | ( | const Ewk_Security_Origin * | o) |
Returns the host of the security origin.
o | security origin object |
NULL
if there is not a host scheme. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself from cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup(). EAPI uint32_t ewk_security_origin_port_get | ( | const Ewk_Security_Origin * | o) |
Returns the port of the security origin.
o | security origin object |
0
if there is not a proper security origin scheme EAPI const char* ewk_security_origin_protocol_get | ( | const Ewk_Security_Origin * | o) |
Returns the protocol of the security origin.
o | security origin object |
NULL
if there is not a protocol scheme. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself from cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup().