34 #ifndef GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H
35 #define GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H
void(* add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset)
Definition: endpoint.h:60
grpc_endpoint_op_status(* read)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
Definition: endpoint.h:56
void(* shutdown)(grpc_endpoint *ep)
Definition: endpoint.h:62
void(* add_to_pollset_set)(grpc_endpoint *ep, grpc_pollset_set *pollset)
Definition: endpoint.h:61
void grpc_endpoint_destroy(grpc_endpoint *ep)
Definition: endpoint.c:59
char * grpc_endpoint_get_peer(grpc_endpoint *ep)
Definition: endpoint.c:61
Definition: pollset_posix.h:55
Definition: slice_buffer.h:48
const grpc_endpoint_vtable * vtable
Definition: endpoint.h:103
Definition: endpoint.h:55
Definition: endpoint.h:50
void grpc_endpoint_add_to_pollset_set(grpc_endpoint *ep, grpc_pollset_set *pollset_set)
Definition: endpoint.c:52
grpc_endpoint_op_status(* write)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
Definition: endpoint.h:58
Definition: endpoint.h:51
void(* destroy)(grpc_endpoint *ep)
Definition: endpoint.h:63
A closure over a grpc_iomgr_cb_func.
Definition: iomgr.h:45
grpc_endpoint_op_status grpc_endpoint_read(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
Definition: endpoint.c:36
grpc_endpoint_op_status grpc_endpoint_write(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
Definition: endpoint.c:42
void grpc_endpoint_add_to_pollset(grpc_endpoint *ep, grpc_pollset *pollset)
Definition: endpoint.c:48
Definition: endpoint.h:102
Definition: pollset_set_posix.h:40
void grpc_endpoint_shutdown(grpc_endpoint *ep)
Definition: endpoint.c:57
grpc_endpoint_op_status
Definition: endpoint.h:49
Definition: endpoint.h:52