19 #ifndef GRPC_CORE_LIB_IOMGR_SOCKET_MUTATOR_H 20 #define GRPC_CORE_LIB_IOMGR_SOCKET_MUTATOR_H The virtual table of grpc_socket_mutator.
Definition: socket_mutator.h:30
Definition: sync_generic.h:36
A single argument...
Definition: grpc_types.h:103
void grpc_socket_mutator_unref(grpc_socket_mutator *mutator)
Definition: socket_mutator.cc:58
bool grpc_socket_mutator_mutate_fd(grpc_socket_mutator *mutator, int fd)
Perform the file descriptor mutation operation of mutator on fd.
Definition: socket_mutator.cc:40
grpc_arg grpc_socket_mutator_to_arg(grpc_socket_mutator *mutator)
Wrap mutator as a grpc_arg.
Definition: socket_mutator.cc:80
int grpc_socket_mutator_compare(grpc_socket_mutator *a, grpc_socket_mutator *b)
Compare if a and b are the same mutator or have same settings.
Definition: socket_mutator.cc:44
gpr_refcount refcount
Definition: socket_mutator.h:42
void grpc_socket_mutator_init(grpc_socket_mutator *mutator, const grpc_socket_mutator_vtable *vtable)
called by concrete implementations to initialize the base struct
Definition: socket_mutator.cc:29
The Socket Mutator interface allows changes on socket options.
Definition: socket_mutator.h:40
grpc_socket_mutator * grpc_socket_mutator_ref(grpc_socket_mutator *mutator)
Definition: socket_mutator.cc:35
const grpc_socket_mutator_vtable * vtable
Definition: socket_mutator.h:41