diff options
author | jboeuf <jboeuf@users.noreply.github.com> | 2015-05-05 08:46:02 -0700 |
---|---|---|
committer | jboeuf <jboeuf@users.noreply.github.com> | 2015-05-05 08:46:02 -0700 |
commit | a0e14540210d856c09da184ecd5da7b414056cc9 (patch) | |
tree | 26129af00450d0d969fc0eb473752045f3311038 /src/core/transport | |
parent | d53d87cbd3a93fa90ac1363fd5dc3b27dbb31cae (diff) | |
parent | 935cf42396d78cad859f25ed1e8cf7f440b06edc (diff) |
Merge pull request #1447 from ctiller/magical-void-pointers
Add per-call context pointer API
Diffstat (limited to 'src/core/transport')
-rw-r--r-- | src/core/transport/transport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/transport/transport.h b/src/core/transport/transport.h index cdea0b9a0b..7a389ea393 100644 --- a/src/core/transport/transport.h +++ b/src/core/transport/transport.h @@ -76,6 +76,9 @@ typedef struct grpc_transport_op { grpc_status_code cancel_with_status; grpc_mdstr *cancel_message; + + /* Indexes correspond to grpc_context_index enum values */ + void *const *context; } grpc_transport_op; /* Callbacks made from the transport to the upper layers of grpc. */ |