diff options
author | 2016-04-03 13:04:41 -0700 | |
---|---|---|
committer | 2016-04-03 13:04:41 -0700 | |
commit | 2d8d13a5726ae673d6fc90d6f92b5c2a384d3131 (patch) | |
tree | 667fa808214a544993c018642d402d24341e1e46 /test/core/util/mock_endpoint.h | |
parent | da1d7d9d1ec4681ba81c0d84c6070481d1f0479e (diff) |
Server fuzzer progress
Diffstat (limited to 'test/core/util/mock_endpoint.h')
-rw-r--r-- | test/core/util/mock_endpoint.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/core/util/mock_endpoint.h b/test/core/util/mock_endpoint.h index 5140eab60a..051af9866b 100644 --- a/test/core/util/mock_endpoint.h +++ b/test/core/util/mock_endpoint.h @@ -34,9 +34,10 @@ #ifndef MOCK_ENDPOINT_H #define MOCK_ENDPOINT_H -grpc_endpoint *grpc_mock_endpoint_create(); -void grpc_mock_endpoint_put_read(grpc_endpoint *mock_endpoint, gpr_slice slice); -void grpc_mock_endpoint_on_write(grpc_endpoint *mock_endpoint, - void (*cb)(gpr_slice slice)); +#include "src/core/lib/iomgr/endpoint.h" + +grpc_endpoint *grpc_mock_endpoint_create(void (*on_write)(gpr_slice slice)); +void grpc_mock_endpoint_put_read(grpc_exec_ctx *exec_ctx, + grpc_endpoint *mock_endpoint, gpr_slice slice); #endif |