Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_TCPSocket_Private_0_4 Struct Reference

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsTCPSocket )(PP_Resource resource)
 
int32_t(* Connect )(PP_Resource tcp_socket, const char *host, uint16_t port, struct PP_CompletionCallback callback)
 
int32_t(* ConnectWithNetAddress )(PP_Resource tcp_socket, const struct PP_NetAddress_Private *addr, struct PP_CompletionCallback callback)
 
PP_Bool(* GetLocalAddress )(PP_Resource tcp_socket, struct PP_NetAddress_Private *local_addr)
 
PP_Bool(* GetRemoteAddress )(PP_Resource tcp_socket, struct PP_NetAddress_Private *remote_addr)
 
int32_t(* SSLHandshake )(PP_Resource tcp_socket, const char *server_name, uint16_t server_port, struct PP_CompletionCallback callback)
 
PP_Resource(* GetServerCertificate )(PP_Resource tcp_socket)
 
PP_Bool(* AddChainBuildingCertificate )(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted)
 
int32_t(* Read )(PP_Resource tcp_socket, char *buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback)
 
int32_t(* Write )(PP_Resource tcp_socket, const char *buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback)
 
void(* Disconnect )(PP_Resource tcp_socket)
 

The documentation for this struct was generated from the following file: