Process
Functions
wpe_process_launch
int wpe_process_launch (struct wpe_process_provider * , enum wpe_process_type , void * )
Launches the specified WebKit process.
Parameters:
–
–
–
an identifier for the process.
Since : 1.14
wpe_process_provider_create
struct wpe_process_provider * wpe_process_provider_create ()
This method is called by WPEWebKit.
an opaque object representing the process provider in libwpe.
Since : 1.14
wpe_process_provider_destroy
void wpe_process_provider_destroy (struct wpe_process_provider * )
Frees the internal resources used by provider.
This method is called by WPEWebKit.
Parameters:
–
Since : 1.14
wpe_process_provider_register_interface
void wpe_process_provider_register_interface (struct wpe_process_provider_interface * )
Sets the process provider interface.
This method is called by WPEWebKit.
Parameters:
–
Since : 1.14
wpe_process_terminate
void wpe_process_terminate (struct wpe_process_provider * , int int64_t)
Terminates the specified WebKit process.
Parameters:
–
int64_t
–
Since : 1.14
Structures
wpe_process_provider
wpe_process_provider_interface
struct wpe_process_provider_interface { void* (*create)(struct wpe_process_provider*); void (*destroy)(void*); int64_t (*launch)(void*, enum wpe_process_type, void*); void (*terminate)(void*, int64_t); };
Methods called by WebKit requesting process provider operations to implementator.
Fields
create
()
–
create an internal representation of a process provider.
destroy
()
–
destroy instance process provider.
int64_t
(int ((int *))(void *, enum wpe_process_type, void *) )
–
terminate
()
–
terminates the specified Webkit process.
Since : 1.14
Enumerations
wpe_process_type
enum wpe_process_type { WPE_PROCESS_TYPE_WEB, WPE_PROCESS_TYPE_NETWORK, WPE_PROCESS_TYPE_GPU, WPE_PROCESS_TYPE_WEB_AUTHN, };
Maps to the processes launched by WebKit.
Members
WPE_PROCESS_TYPE_WEB
(0)
–
WebKit's WebProcess.
WPE_PROCESS_TYPE_NETWORK
(1)
–
WebKit's NetworkProcess.
WPE_PROCESS_TYPE_GPU
(2)
–
WebKit's GPUProcess.
WPE_PROCESS_TYPE_WEB_AUTHN
(3)
–
WebKit's WebAuthNProcess.
The results of the search are