aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security/transport/secure_endpoint.h
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-08-31 15:42:17 +0200
committerGravatar GitHub <noreply@github.com>2017-08-31 15:42:17 +0200
commit090cd46a6c7807331ce665881b64ce2ec07b080d (patch)
treeca9d4c2a8aefcf9f2c76494246e9ba9da81e81db /src/core/lib/security/transport/secure_endpoint.h
parent0c21e334c75b4ced6f242f5639daa58899569863 (diff)
Revert "Fake zero copy protector"
Diffstat (limited to 'src/core/lib/security/transport/secure_endpoint.h')
-rw-r--r--src/core/lib/security/transport/secure_endpoint.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/core/lib/security/transport/secure_endpoint.h b/src/core/lib/security/transport/secure_endpoint.h
index 3323a6ff42..1c5555f3df 100644
--- a/src/core/lib/security/transport/secure_endpoint.h
+++ b/src/core/lib/security/transport/secure_endpoint.h
@@ -23,17 +23,12 @@
#include "src/core/lib/iomgr/endpoint.h"
struct tsi_frame_protector;
-struct tsi_zero_copy_grpc_protector;
extern grpc_tracer_flag grpc_trace_secure_endpoint;
-/* Takes ownership of protector, zero_copy_protector, and to_wrap, and refs
- * leftover_slices. If zero_copy_protector is not NULL, protector will never be
- * used. */
+/* Takes ownership of protector and to_wrap, and refs leftover_slices. */
grpc_endpoint *grpc_secure_endpoint_create(
- struct tsi_frame_protector *protector,
- struct tsi_zero_copy_grpc_protector *zero_copy_protector,
- grpc_endpoint *to_wrap, grpc_slice *leftover_slices,
- size_t leftover_nslices);
+ struct tsi_frame_protector *protector, grpc_endpoint *to_wrap,
+ grpc_slice *leftover_slices, size_t leftover_nslices);
#endif /* GRPC_CORE_LIB_SECURITY_TRANSPORT_SECURE_ENDPOINT_H */