diff options
author | 2015-09-22 09:30:00 -0700 | |
---|---|---|
committer | 2015-09-22 09:30:00 -0700 | |
commit | d9ccbbf6b98721f3e0256436e8a31fb378324d34 (patch) | |
tree | 70044a256dc950acf8b5fe203e417b00da6a1114 /src/core/security/security_connector.h | |
parent | 10ee2747a92a20c0bbe8cf3e2e759a121c6cb076 (diff) |
Rename call_list to closure_list
Diffstat (limited to 'src/core/security/security_connector.h')
-rw-r--r-- | src/core/security/security_connector.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/security/security_connector.h b/src/core/security/security_connector.h index 276fa47940..0f161d0e37 100644 --- a/src/core/security/security_connector.h +++ b/src/core/security/security_connector.h @@ -62,21 +62,20 @@ typedef struct grpc_security_connector grpc_security_connector; typedef void (*grpc_security_check_cb)(void *user_data, grpc_security_status status, - grpc_call_list *call_list); + grpc_closure_list *closure_list); /* Ownership of the secure_endpoint is transfered. */ -typedef void (*grpc_security_handshake_done_cb)(void *user_data, - grpc_security_status status, - grpc_endpoint *wrapped_endpoint, - grpc_endpoint *secure_endpoint, - grpc_call_list *call_list); +typedef void (*grpc_security_handshake_done_cb)( + void *user_data, grpc_security_status status, + grpc_endpoint *wrapped_endpoint, grpc_endpoint *secure_endpoint, + grpc_closure_list *closure_list); typedef struct { void (*destroy)(grpc_security_connector *sc); void (*do_handshake)(grpc_security_connector *sc, grpc_endpoint *nonsecure_endpoint, grpc_security_handshake_done_cb cb, void *user_data, - grpc_call_list *call_list); + grpc_closure_list *closure_list); grpc_security_status (*check_peer)(grpc_security_connector *sc, tsi_peer peer, grpc_security_check_cb cb, void *user_data); @@ -115,7 +114,7 @@ void grpc_security_connector_do_handshake(grpc_security_connector *connector, grpc_endpoint *nonsecure_endpoint, grpc_security_handshake_done_cb cb, void *user_data, - grpc_call_list *call_list); + grpc_closure_list *closure_list); /* Check the peer. Implementations can choose to check the peer either synchronously or @@ -152,7 +151,7 @@ struct grpc_channel_security_connector { const char *host, grpc_security_check_cb cb, void *user_data, - grpc_call_list *call_list); + grpc_closure_list *closure_list); }; /* Checks that the host that will be set for a call is acceptable. @@ -162,7 +161,8 @@ struct grpc_channel_security_connector { GRPC_SECURITY_PENDING unless an error is detected early on. */ grpc_security_status grpc_channel_security_connector_check_call_host( grpc_channel_security_connector *sc, const char *host, - grpc_security_check_cb cb, void *user_data, grpc_call_list *call_list); + grpc_security_check_cb cb, void *user_data, + grpc_closure_list *closure_list); /* --- Creation security connectors. --- */ |