diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-05-08 17:05:40 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-05-08 17:05:40 -0700 |
commit | 0b0e979125437c8dc57cd5b77147e7dea3a92a56 (patch) | |
tree | 31de13412b30d9b72f48870aad1d1c616b82d814 /include | |
parent | 6979b00624978ef53d7db988aed4f82a9380ac80 (diff) | |
parent | fcdf33b39f2ccaa69a301810b321dc77b6bcb174 (diff) |
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc_security.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h index 586cfcffe7..2f9ec1c67b 100644 --- a/include/grpc/grpc_security.h +++ b/include/grpc/grpc_security.h @@ -184,6 +184,13 @@ grpc_server_credentials *grpc_fake_transport_security_server_credentials_create( int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr, grpc_server_credentials *creds); +/* --- Call specific credentials. --- */ + +/* Sets a credentials to a call. Can only be called on the client side before + grpc_call_start_batch. */ +grpc_call_error grpc_call_set_credentials(grpc_call *call, + grpc_credentials *creds); + #ifdef __cplusplus } #endif |