Public Attributes | List of all members
grpc_socket_mutator_vtable Struct Reference

#include <socket_mutator.h>

Public Attributes

int(* compare )(grpc_socket_mutator *a, grpc_socket_mutator *b)
 
void(* destroy )(grpc_socket_mutator *mutator)
 
bool(* mutate_fd )(int fd, grpc_socket_mutator *mutator)
 
bool(* mutate_fd_2 )(const grpc_mutate_socket_info *info, grpc_socket_mutator *mutator)
 

Detailed Description

The virtual table of grpc_socket_mutator

Definition at line 48 of file socket_mutator.h.

Member Data Documentation

◆ compare

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

Compare socket mutator a and b

Definition at line 52 of file socket_mutator.h.

◆ destroy

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

Destroys the socket mutator instance

Definition at line 54 of file socket_mutator.h.

◆ 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

Definition at line 50 of file socket_mutator.h.

◆ 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

Definition at line 57 of file socket_mutator.h.


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


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