]>
Commit | Line | Data |
---|---|---|
09b414e8 | 1 | #ifndef _SPL_TYPES_H |
2 | #define _SPL_TYPES_H | |
f1ca4da6 | 3 | |
4 | #ifdef __cplusplus | |
5 | extern "C" { | |
6 | #endif | |
7 | ||
dbb484ec | 8 | #include <linux/types.h> |
14c5326c | 9 | #include <sys/sysmacros.h> |
dbb484ec | 10 | |
3d4ea0ce | 11 | typedef enum { B_FALSE=0, B_TRUE=1 } boolean_t; |
f1ca4da6 | 12 | typedef unsigned long uintptr_t; |
13 | typedef unsigned long intptr_t; | |
14 | typedef unsigned long ulong_t; | |
15 | typedef unsigned int uint_t; | |
16 | typedef unsigned char uchar_t; | |
17 | typedef unsigned long long u_longlong_t; | |
18 | typedef unsigned long long u_offset_t; | |
19 | typedef unsigned long long rlim64_t; | |
20 | typedef long long longlong_t; | |
21 | typedef long long offset_t; | |
3d4ea0ce | 22 | typedef struct task_struct kthread_t; |
f1ca4da6 | 23 | typedef struct vmem { } vmem_t; |
24 | typedef short pri_t; | |
dbb484ec | 25 | typedef struct timespec timestruc_t; /* definition per SVr4 */ |
26 | typedef longlong_t hrtime_t; | |
f1ca4da6 | 27 | |
28 | #ifdef __cplusplus | |
29 | } | |
30 | #endif | |
31 | ||
09b414e8 | 32 | #endif /* _SPL_TYPES_H */ |