Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_TCPSocket_1_0 Struct Reference

#include <ppb_tcp_socket.h>

Collaboration diagram for PPB_TCPSocket_1_0:
Collaboration graph

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsTCPSocket )(PP_Resource resource)
 
int32_t(* Connect )(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)
 
PP_Resource(* GetLocalAddress )(PP_Resource tcp_socket)
 
PP_Resource(* GetRemoteAddress )(PP_Resource tcp_socket)
 
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(* Close )(PP_Resource tcp_socket)
 
int32_t(* SetOption )(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback)
 

Detailed Description

Definition at line 285 of file ppb_tcp_socket.h.

Member Data Documentation

void(* PPB_TCPSocket_1_0::Close)(PP_Resource tcp_socket)

Definition at line 301 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_0::Connect)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)

Definition at line 288 of file ppb_tcp_socket.h.

PP_Resource(* PPB_TCPSocket_1_0::Create)(PP_Instance instance)

Definition at line 286 of file ppb_tcp_socket.h.

PP_Resource(* PPB_TCPSocket_1_0::GetLocalAddress)(PP_Resource tcp_socket)

Definition at line 291 of file ppb_tcp_socket.h.

PP_Resource(* PPB_TCPSocket_1_0::GetRemoteAddress)(PP_Resource tcp_socket)

Definition at line 292 of file ppb_tcp_socket.h.

PP_Bool(* PPB_TCPSocket_1_0::IsTCPSocket)(PP_Resource resource)

Definition at line 287 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_0::Read)(PP_Resource tcp_socket, char *buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback)

Definition at line 293 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_0::SetOption)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback)

Definition at line 302 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_0::Write)(PP_Resource tcp_socket, const char *buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback)

Definition at line 297 of file ppb_tcp_socket.h.


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