Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_TCPSocket_1_1 Struct Reference

#include <ppb_tcp_socket.h>

Collaboration diagram for PPB_TCPSocket_1_1:
Collaboration graph

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsTCPSocket )(PP_Resource resource)
 
int32_t(* Bind )(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)
 
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)
 
int32_t(* Listen )(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback callback)
 
int32_t(* Accept )(PP_Resource tcp_socket, PP_Resource *accepted_tcp_socket, 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 308 of file ppb_tcp_socket.h.

Member Data Documentation

int32_t(* PPB_TCPSocket_1_1::Accept)(PP_Resource tcp_socket, PP_Resource *accepted_tcp_socket, struct PP_CompletionCallback callback)

Definition at line 330 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_1::Bind)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)

Definition at line 311 of file ppb_tcp_socket.h.

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

Definition at line 333 of file ppb_tcp_socket.h.

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

Definition at line 314 of file ppb_tcp_socket.h.

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

Definition at line 309 of file ppb_tcp_socket.h.

PP_Resource(* PPB_TCPSocket_1_1::GetLocalAddress)(PP_Resource tcp_socket)

Definition at line 317 of file ppb_tcp_socket.h.

PP_Resource(* PPB_TCPSocket_1_1::GetRemoteAddress)(PP_Resource tcp_socket)

Definition at line 318 of file ppb_tcp_socket.h.

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

Definition at line 310 of file ppb_tcp_socket.h.

int32_t(* PPB_TCPSocket_1_1::Listen)(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback callback)

Definition at line 327 of file ppb_tcp_socket.h.

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

Definition at line 319 of file ppb_tcp_socket.h.

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

Definition at line 334 of file ppb_tcp_socket.h.

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

Definition at line 323 of file ppb_tcp_socket.h.


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