Public Attributes | List of all members
grpc_socket_factory_vtable Struct Reference

#include <socket_factory_posix.h>

Public Attributes

int(* bind )(grpc_socket_factory *factory, int sockfd, const grpc_resolved_address *addr)
 
int(* compare )(grpc_socket_factory *a, grpc_socket_factory *b)
 
void(* destroy )(grpc_socket_factory *factory)
 
int(* socket )(grpc_socket_factory *factory, int domain, int type, int protocol)
 

Detailed Description

The virtual table of grpc_socket_factory

Definition at line 30 of file socket_factory_posix.h.

Member Data Documentation

◆ bind

int(* grpc_socket_factory_vtable::bind) (grpc_socket_factory *factory, int sockfd, const grpc_resolved_address *addr)

Replacement for bind(2)

Definition at line 35 of file socket_factory_posix.h.

◆ compare

int(* grpc_socket_factory_vtable::compare) (grpc_socket_factory *a, grpc_socket_factory *b)

Compare socket factory a and b

Definition at line 38 of file socket_factory_posix.h.

◆ destroy

void(* grpc_socket_factory_vtable::destroy) (grpc_socket_factory *factory)

Destroys the socket factory instance

Definition at line 40 of file socket_factory_posix.h.

◆ socket

int(* grpc_socket_factory_vtable::socket) (grpc_socket_factory *factory, int domain, int type, int protocol)

Replacement for socket(2)

Definition at line 32 of file socket_factory_posix.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46