GRPC Core  18.0.0
Data Fields
grpc_socket_mutator_vtable Struct Reference

The virtual table of grpc_socket_mutator. More...

#include <socket_mutator.h>

Data Fields

bool(* mutate_fd )(int fd, grpc_socket_mutator *mutator)
 Mutates the socket options of fd – deprecated, prefer mutate_fd_2. More...
 
int(* compare )(grpc_socket_mutator *a, grpc_socket_mutator *b)
 Compare socket mutator a and b. More...
 
void(* destroy )(grpc_socket_mutator *mutator)
 Destroys the socket mutator instance. More...
 
bool(* mutate_fd_2 )(const grpc_mutate_socket_info *info, grpc_socket_mutator *mutator)
 Mutates the socket options of the fd in info - if set takes preference to mutate_fd. More...
 

Detailed Description

The virtual table of grpc_socket_mutator.

Field Documentation

◆ compare

int(* grpc_socket_mutator_vtable::compare) (grpc_socket_mutator *a, grpc_socket_mutator *b)

Compare socket mutator a and b.

◆ destroy

void(* grpc_socket_mutator_vtable::destroy) (grpc_socket_mutator *mutator)

Destroys the socket mutator instance.

◆ mutate_fd

bool(* grpc_socket_mutator_vtable::mutate_fd) (int fd, grpc_socket_mutator *mutator)

Mutates the socket options of fd – deprecated, prefer mutate_fd_2.

◆ mutate_fd_2

bool(* grpc_socket_mutator_vtable::mutate_fd_2) (const grpc_mutate_socket_info *info, grpc_socket_mutator *mutator)

Mutates the socket options of the fd in info - if set takes preference to mutate_fd.


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