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

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsUDPSocket )(PP_Resource resource)
 
int32_t(* Bind )(PP_Resource udp_socket, PP_Resource addr, struct PP_CompletionCallback callback)
 
PP_Resource(* GetBoundAddress )(PP_Resource udp_socket)
 
int32_t(* RecvFrom )(PP_Resource udp_socket, char *buffer, int32_t num_bytes, PP_Resource *addr, struct PP_CompletionCallback callback)
 
int32_t(* SendTo )(PP_Resource udp_socket, const char *buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback callback)
 
void(* Close )(PP_Resource udp_socket)
 
int32_t(* SetOption )(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback)
 

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