aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/endpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/iomgr/endpoint.h')
-rw-r--r--src/core/iomgr/endpoint.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/core/iomgr/endpoint.h b/src/core/iomgr/endpoint.h
index f9881684ff..cb722e32e9 100644
--- a/src/core/iomgr/endpoint.h
+++ b/src/core/iomgr/endpoint.h
@@ -48,15 +48,15 @@ typedef struct grpc_endpoint_vtable grpc_endpoint_vtable;
struct grpc_endpoint_vtable {
void (*read)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_closure *cb,
- grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
void (*write)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_closure *cb,
- grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
void (*add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset,
- grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
void (*add_to_pollset_set)(grpc_endpoint *ep, grpc_pollset_set *pollset,
- grpc_call_list *call_list);
- void (*shutdown)(grpc_endpoint *ep, grpc_call_list *call_list);
- void (*destroy)(grpc_endpoint *ep, grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
+ void (*shutdown)(grpc_endpoint *ep, grpc_closure_list *closure_list);
+ void (*destroy)(grpc_endpoint *ep, grpc_closure_list *closure_list);
char *(*get_peer)(grpc_endpoint *ep);
};
@@ -65,7 +65,7 @@ struct grpc_endpoint_vtable {
indicates the endpoint is closed.
Valid slices may be placed into \a slices even on callback success == 0. */
void grpc_endpoint_read(grpc_endpoint *ep, gpr_slice_buffer *slices,
- grpc_closure *cb, grpc_call_list *call_list);
+ grpc_closure *cb, grpc_closure_list *closure_list);
char *grpc_endpoint_get_peer(grpc_endpoint *ep);
@@ -80,20 +80,20 @@ char *grpc_endpoint_get_peer(grpc_endpoint *ep);
it is a valid slice buffer.
*/
void grpc_endpoint_write(grpc_endpoint *ep, gpr_slice_buffer *slices,
- grpc_closure *cb, grpc_call_list *call_list);
+ grpc_closure *cb, grpc_closure_list *closure_list);
/* Causes any pending read/write callbacks to run immediately with
success==0 */
-void grpc_endpoint_shutdown(grpc_endpoint *ep, grpc_call_list *call_list);
-void grpc_endpoint_destroy(grpc_endpoint *ep, grpc_call_list *call_list);
+void grpc_endpoint_shutdown(grpc_endpoint *ep, grpc_closure_list *closure_list);
+void grpc_endpoint_destroy(grpc_endpoint *ep, grpc_closure_list *closure_list);
/* Add an endpoint to a pollset, so that when the pollset is polled, events from
this endpoint are considered */
void grpc_endpoint_add_to_pollset(grpc_endpoint *ep, grpc_pollset *pollset,
- grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
void grpc_endpoint_add_to_pollset_set(grpc_endpoint *ep,
grpc_pollset_set *pollset_set,
- grpc_call_list *call_list);
+ grpc_closure_list *closure_list);
struct grpc_endpoint {
const grpc_endpoint_vtable *vtable;