• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _FAKE_TYPEDEFS_H
2 #define _FAKE_TYPEDEFS_H
3 
4 typedef int size_t;
5 typedef int __builtin_va_list;
6 typedef int __gnuc_va_list;
7 typedef int va_list;
8 typedef int __int8_t;
9 typedef int __uint8_t;
10 typedef int __int16_t;
11 typedef int __uint16_t;
12 typedef int __int_least16_t;
13 typedef int __uint_least16_t;
14 typedef int __int32_t;
15 typedef int __uint32_t;
16 typedef int __int64_t;
17 typedef int __uint64_t;
18 typedef int __int_least32_t;
19 typedef int __uint_least32_t;
20 typedef int __s8;
21 typedef int __u8;
22 typedef int __s16;
23 typedef int __u16;
24 typedef int __s32;
25 typedef int __u32;
26 typedef int __s64;
27 typedef int __u64;
28 typedef int _LOCK_T;
29 typedef int _LOCK_RECURSIVE_T;
30 typedef int _off_t;
31 typedef int __dev_t;
32 typedef int __uid_t;
33 typedef int __gid_t;
34 typedef int _off64_t;
35 typedef int _fpos_t;
36 typedef int _ssize_t;
37 typedef int wint_t;
38 typedef int _mbstate_t;
39 typedef int _flock_t;
40 typedef int _iconv_t;
41 typedef int __ULong;
42 typedef int __FILE;
43 typedef int ptrdiff_t;
44 typedef int wchar_t;
45 typedef int __off_t;
46 typedef int __pid_t;
47 typedef int __loff_t;
48 typedef int u_char;
49 typedef int u_short;
50 typedef int u_int;
51 typedef int u_long;
52 typedef int ushort;
53 typedef int uint;
54 typedef int clock_t;
55 typedef int time_t;
56 typedef int daddr_t;
57 typedef int caddr_t;
58 typedef int ino_t;
59 typedef int off_t;
60 typedef int dev_t;
61 typedef int uid_t;
62 typedef int gid_t;
63 typedef int pid_t;
64 typedef int key_t;
65 typedef int ssize_t;
66 typedef int mode_t;
67 typedef int nlink_t;
68 typedef int fd_mask;
69 typedef int _types_fd_set;
70 typedef int clockid_t;
71 typedef int timer_t;
72 typedef int useconds_t;
73 typedef int suseconds_t;
74 typedef int FILE;
75 typedef int fpos_t;
76 typedef int cookie_read_function_t;
77 typedef int cookie_write_function_t;
78 typedef int cookie_seek_function_t;
79 typedef int cookie_close_function_t;
80 typedef int cookie_io_functions_t;
81 typedef int div_t;
82 typedef int ldiv_t;
83 typedef int lldiv_t;
84 typedef int sigset_t;
85 typedef int __sigset_t;
86 typedef int _sig_func_ptr;
87 typedef int sig_atomic_t;
88 typedef int __tzrule_type;
89 typedef int __tzinfo_type;
90 typedef int mbstate_t;
91 typedef int sem_t;
92 typedef int pthread_t;
93 typedef int pthread_attr_t;
94 typedef int pthread_mutex_t;
95 typedef int pthread_mutexattr_t;
96 typedef int pthread_cond_t;
97 typedef int pthread_condattr_t;
98 typedef int pthread_key_t;
99 typedef int pthread_once_t;
100 typedef int pthread_rwlock_t;
101 typedef int pthread_rwlockattr_t;
102 typedef int pthread_spinlock_t;
103 typedef int pthread_barrier_t;
104 typedef int pthread_barrierattr_t;
105 typedef int jmp_buf;
106 typedef int rlim_t;
107 typedef int sa_family_t;
108 typedef int sigjmp_buf;
109 typedef int stack_t;
110 typedef int siginfo_t;
111 typedef int z_stream;
112 
113 /* C99 exact-width integer types */
114 typedef int int8_t;
115 typedef int uint8_t;
116 typedef int int16_t;
117 typedef int uint16_t;
118 typedef int int32_t;
119 typedef int uint32_t;
120 typedef int int64_t;
121 typedef int uint64_t;
122 
123 /* C99 minimum-width integer types */
124 typedef int int_least8_t;
125 typedef int uint_least8_t;
126 typedef int int_least16_t;
127 typedef int uint_least16_t;
128 typedef int int_least32_t;
129 typedef int uint_least32_t;
130 typedef int int_least64_t;
131 typedef int uint_least64_t;
132 
133 /* C99 fastest minimum-width integer types */
134 typedef int int_fast8_t;
135 typedef int uint_fast8_t;
136 typedef int int_fast16_t;
137 typedef int uint_fast16_t;
138 typedef int int_fast32_t;
139 typedef int uint_fast32_t;
140 typedef int int_fast64_t;
141 typedef int uint_fast64_t;
142 
143 /* C99 integer types capable of holding object pointers */
144 typedef int intptr_t;
145 typedef int uintptr_t;
146 
147 /* C99 greatest-width integer types */
148 typedef int intmax_t;
149 typedef int uintmax_t;
150 
151 /* C99 stdbool.h bool type. _Bool is built-in in C99 */
152 typedef _Bool bool;
153 
154 /* Mir typedefs */
155 typedef void* MirEGLNativeWindowType;
156 typedef void* MirEGLNativeDisplayType;
157 typedef struct MirConnection MirConnection;
158 typedef struct MirSurface MirSurface;
159 typedef struct MirSurfaceSpec MirSurfaceSpec;
160 typedef struct MirScreencast MirScreencast;
161 typedef struct MirPromptSession MirPromptSession;
162 typedef struct MirBufferStream MirBufferStream;
163 typedef struct MirPersistentId MirPersistentId;
164 typedef struct MirBlob MirBlob;
165 typedef struct MirDisplayConfig MirDisplayConfig;
166 
167 /* xcb typedefs */
168 typedef struct xcb_connection_t xcb_connection_t;
169 typedef uint32_t xcb_window_t;
170 typedef uint32_t xcb_visualid_t;
171 
172 #endif
173