os.h 1.6 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>
S
Shengliang Guan 已提交
48

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

S
Shengliang Guan 已提交
70
void osInit();
S
Shengliang Guan 已提交
71 72 73 74 75 76

#ifdef __cplusplus
}
#endif

#endif