aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-10 17:02:08 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-10 17:02:08 -0800
commit8e8fd89fafbab00bcb91c032692978320b8b1e6b (patch)
treeb47fd3799bbcc14542144fb2726bd04fbb4a10b3 /include
parent668c5dee387e36e0e0a11ba7183248706d5e8b8e (diff)
Allow two completion queues on request call
One for the new rpc notification, the other is bound to the new call. This will make async c++ soooo much easier.
Diffstat (limited to 'include')
l---------include/grpc/grpc1
-rw-r--r--include/grpc/grpc.h7
2 files changed, 6 insertions, 2 deletions
diff --git a/include/grpc/grpc b/include/grpc/grpc
new file mode 120000
index 0000000000..fc80ad1c86
--- /dev/null
+++ b/include/grpc/grpc
@@ -0,0 +1 @@
+/home/craig/grpc-ct/include/grpc \ No newline at end of file
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 4ccb5a4dd5..7733f8bb2a 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -553,7 +553,9 @@ grpc_call_error grpc_server_request_call_old(grpc_server *server,
grpc_call_error grpc_server_request_call(
grpc_server *server, grpc_call **call, grpc_call_details *details,
grpc_metadata_array *request_metadata,
- grpc_completion_queue *completion_queue, void *tag_new);
+ grpc_completion_queue *cq_when_rpc_available,
+ grpc_completion_queue *cq_bound_to_call,
+ void *tag_new);
void *grpc_server_register_method(grpc_server *server, const char *method,
const char *host);
@@ -562,7 +564,8 @@ grpc_call_error grpc_server_request_registered_call(
grpc_server *server, void *registered_method, grpc_call **call,
gpr_timespec *deadline, grpc_metadata_array *request_metadata,
grpc_byte_buffer **optional_payload,
- grpc_completion_queue *completion_queue, void *tag_new);
+ grpc_completion_queue *cq_when_rpc_available,
+ grpc_completion_queue *cq_bound_to_call, void *tag_new);
/* Create a server */
grpc_server *grpc_server_create(grpc_completion_queue *cq,