-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathcommon.h
34 lines (30 loc) · 1012 Bytes
/
common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/***************************************************************************
* File Name: common.h
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* You should have received a copy of the Figure-IT License
* along with this program; if not, write to the
* ShangHai Figure-IT, Inc.
***************************************************************************/
#if !defined(RECORD_COMMON_HEADER)
#define RECORD_COMMON_HEADER
//IO
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
//THREAD
#include <pthread.h>
//NETWORK
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#endif