From fcd2a1390bfcf60c87750e692be37a9a14e5d390 Mon Sep 17 00:00:00 2001 From: Alois Cochard Date: Tue, 3 Mar 2015 14:42:09 +0100 Subject: [PATCH] Add type aescription in `Constants`. --- src/Network/GRPC/Constants.hsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Network/GRPC/Constants.hsc b/src/Network/GRPC/Constants.hsc index 1642fca..406fa47 100644 --- a/src/Network/GRPC/Constants.hsc +++ b/src/Network/GRPC/Constants.hsc @@ -2,8 +2,13 @@ module Network.GRPC.Constants where #include "grpc/grpc.h" +argEnableCensus :: Int argEnableCensus = #const GRPC_ARG_ENABLE_CENSUS + +argMaxConcurrentStreams :: Int argMaxConcurrentStreams = #const GRPC_ARG_MAX_CONCURRENT_STREAMS + +argMaxMessageLength :: Int argMaxMessageLength = #const GRPC_ARG_MAX_MESSAGE_LENGTH writeBufferHint :: Int