aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/config.h
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-04-30 16:07:06 -0700
committerGravatar Yang Gao <yangg@google.com>2015-04-30 16:07:06 -0700
commit3921c56bee2adff62cb0f9519114d2aa22a67410 (patch)
tree7fdd42a532ca2040b15441d92bcd0b66eccf0397 /include/grpc++/config.h
parent6d42a73bb984e19eb1bf84e2a952eec861cea464 (diff)
Expose max message size at the server side
Diffstat (limited to 'include/grpc++/config.h')
-rw-r--r--include/grpc++/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/config.h b/include/grpc++/config.h
index 0f3d69289f..b6c1705621 100644
--- a/include/grpc++/config.h
+++ b/include/grpc++/config.h
@@ -93,13 +93,17 @@
#endif
#ifndef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
+#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream.h>
#define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM \
::google::protobuf::io::ZeroCopyOutputStream
#define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM \
::google::protobuf::io::ZeroCopyInputStream
+#define GRPC_CUSTOM_CODEDINPUTSTREAM \
+ ::google::protobuf::io::CodedInputStream
#endif
+
#ifdef GRPC_CXX0X_NO_NULLPTR
#include <memory>
const class {
@@ -126,6 +130,7 @@ typedef GRPC_CUSTOM_PROTOBUF_INT64 int64;
namespace io {
typedef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM ZeroCopyOutputStream;
typedef GRPC_CUSTOM_ZEROCOPYINPUTSTREAM ZeroCopyInputStream;
+typedef GRPC_CUSTOM_CODEDINPUTSTREAM CodedInputStream;
} // namespace io
} // namespace protobuf