diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-03-24 09:52:02 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-03-24 09:52:02 -0700 |
commit | 7b81147cc91081ad9f0e077af99c5a7cfc946de4 (patch) | |
tree | ddd6b1297c349ae9ce19800d860657c017fb8333 /include | |
parent | 2ae4fc2601c23f026e8abff2f1c1f817b72ef0b3 (diff) | |
parent | 18a7a8a9637b45e220202145b4b51dc224fbbdac (diff) |
Merge branch 'master' into cq_create_api_changes
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/impl/codegen/grpc_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index 061f59213c..e2332a78cd 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -87,6 +87,9 @@ typedef struct grpc_call grpc_call; /** The Socket Mutator interface allows changes on socket options */ typedef struct grpc_socket_mutator grpc_socket_mutator; +/** The Socket Factory interface creates and binds sockets */ +typedef struct grpc_socket_factory grpc_socket_factory; + /** Type specifier for grpc_arg */ typedef enum { GRPC_ARG_STRING, @@ -240,6 +243,8 @@ typedef struct { #define GRPC_ARG_LB_POLICY_NAME "grpc.lb_policy_name" /** The grpc_socket_mutator instance that set the socket options. A pointer. */ #define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator" +/** The grpc_socket_factory instance to create and bind sockets. A pointer. */ +#define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory" /** If non-zero, Cronet transport will coalesce packets to fewer frames when * possible. */ #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \ |