os.h 1.7 KB
Newer Older
S
Shengliang Guan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*
 * Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
 *
 * This program is free software: you can use, redistribute, and/or modify
 * it under the terms of the GNU Affero General Public License, version 3
 * or later ("AGPL"), as published by the Free Software Foundation.
 *
 * 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.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef TDENGINE_OS_H
#define TDENGINE_OS_H

#ifdef __cplusplus
extern "C" {
#endif

H
refact  
Hongze Cheng 已提交
23
#include <assert.h>
S
Shengliang Guan 已提交
24
#include <ctype.h>
25
#include <errno.h>
S
Shengliang Guan 已提交
26
#include <float.h>
27
#include <inttypes.h>
S
Shengliang Guan 已提交
28 29
#include <locale.h>
#include <math.h>
S
Shengliang Guan 已提交
30
#include <setjmp.h>
S
Shengliang Guan 已提交
31 32
#include <signal.h>
#include <stdarg.h>
H
refact  
Hongze Cheng 已提交
33
#include <stdbool.h>
S
Shengliang Guan 已提交
34
#include <stddef.h>
H
refact  
Hongze Cheng 已提交
35
#include <stdint.h>
H
refact  
Hongze Cheng 已提交
36
#include <stdio.h>
H
refact  
Hongze Cheng 已提交
37 38
#include <stdlib.h>
#include <string.h>
S
Shengliang Guan 已提交
39
#include <time.h>
S
Shengliang Guan 已提交
40 41
#include <wctype.h>
#include <wchar.h>
H
refact  
Hongze Cheng 已提交
42
#include <sched.h>
H
Haojun Liao 已提交
43
#include <ctype.h>
44 45 46
#include <errno.h>
#include <float.h>
#include <math.h>
47
#include <sys/stat.h>
48
#include <sys/types.h>
H
Haojun Liao 已提交
49
#include <sys/utsname.h>
L
Liu Jicong 已提交
50
#include <dirent.h>
51
#include <unistd.h>
S
Shengliang Guan 已提交
52

H
refact  
Hongze Cheng 已提交
53 54
#include "osAtomic.h"
#include "osDef.h"
55
#include "osDir.h"
H
refact  
Hongze Cheng 已提交
56
#include "osEndian.h"
S
Shengliang Guan 已提交
57
#include "osEnv.h"
58
#include "osFile.h"
S
Shengliang Guan 已提交
59
#include "osLz4.h"
60
#include "osMath.h"
H
refact  
Hongze Cheng 已提交
61
#include "osMemory.h"
S
Shengliang Guan 已提交
62
#include "osRand.h"
63
#include "osSemaphore.h"
S
Shengliang Guan 已提交
64 65
#include "osSignal.h"
#include "osSleep.h"
66 67
#include "osSocket.h"
#include "osString.h"
S
Shengliang Guan 已提交
68 69
#include "osSysinfo.h"
#include "osSystem.h"
S
Shengliang Guan 已提交
70
#include "osThread.h"
S
Shengliang Guan 已提交
71 72
#include "osTime.h"
#include "osTimer.h"
S
Shengliang Guan 已提交
73

S
Shengliang Guan 已提交
74
void osInit();
S
Shengliang Guan 已提交
75 76 77 78 79 80

#ifdef __cplusplus
}
#endif

#endif