diff options
author | Hongyu Chen <hongyu@google.com> | 2015-12-11 11:08:35 -0800 |
---|---|---|
committer | Hongyu Chen <hongyu@google.com> | 2015-12-11 11:08:35 -0800 |
commit | aa28ccc92291acc2ff527db72a9389ac2bd2034a (patch) | |
tree | fd7992b402380fdb01d5e193a7d3d8993876565b /include/grpc++/support/channel_arguments.h | |
parent | 0504a4443fb973f8cb3bc43f05bc1a73680fab59 (diff) | |
parent | 12fa8c83aff22c84ee92ea00c79b2f6236c93d26 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/grpc++/support/channel_arguments.h')
-rw-r--r-- | include/grpc++/support/channel_arguments.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h index cf8eab3b47..a2960a7ecc 100644 --- a/include/grpc++/support/channel_arguments.h +++ b/include/grpc++/support/channel_arguments.h @@ -80,6 +80,11 @@ class ChannelArguments { // Generic channel argument setters. Only for advanced use cases. /// Set an integer argument \a value under \a key. void SetInt(const grpc::string& key, int value); + + // Generic channel argument setter. Only for advanced use cases. + /// Set a pointer argument \a value under \a key. Owership is not transferred. + void SetPointer(const grpc::string& key, void* value); + /// Set a textual argument \a value under \a key. void SetString(const grpc::string& key, const grpc::string& value); |