client-c  0.7.0
posix_defaults.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 CyberVision, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18 @file posix_defaults.h
19  Created on: Mar 26, 2015
20  Author: Andriy Panasenko <apanasenko@cybervisiontech.com>
21 */
22 
23 #ifndef POSIX_DEFAULTS_H_
24 #define POSIX_DEFAULTS_H_
25 
26 #define KAA_TCP_CHANNEL_IN_BUFFER_SIZE 2048
27 #define KAA_TCP_CHANNEL_OUT_BUFFER_SIZE 8192
28 
29 #define KAA_TCP_CHANNEL_KEEPALIVE 300
30 
31 #define KAATCP_PARSER_MAX_MESSAGE_LENGTH 4096
32 
33 #define KAA_MAX_LOG_MESSAGE_LENGTH 512
34 
35 #endif /* POSIX_DEFAULTS_H_ */