19 #ifndef GRPC_CORE_LIB_IOMGR_SOCKET_MUTATOR_H
20 #define GRPC_CORE_LIB_IOMGR_SOCKET_MUTATOR_H
void grpc_socket_mutator_unref(grpc_socket_mutator *mutator)
grpc_socket_mutator * grpc_socket_mutator_ref(grpc_socket_mutator *mutator)
bool grpc_socket_mutator_mutate_fd(grpc_socket_mutator *mutator, int fd)
Perform the file descriptor mutation operation of mutator on fd.
void grpc_socket_mutator_init(grpc_socket_mutator *mutator, const grpc_socket_mutator_vtable *vtable)
called by concrete implementations to initialize the base struct
grpc_arg grpc_socket_mutator_to_arg(grpc_socket_mutator *mutator)
Wrap mutator as a grpc_arg.
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: sync_generic.h:36
A single argument...
Definition: grpc_types.h:103
The virtual table of grpc_socket_mutator.
Definition: socket_mutator.h:30
The Socket Mutator interface allows changes on socket options.
Definition: socket_mutator.h:40
gpr_refcount refcount
Definition: socket_mutator.h:42
const grpc_socket_mutator_vtable * vtable
Definition: socket_mutator.h:41