OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 /* | 6 /* |
7 * TODO(bradchen): figure out where to move this include file and then | 7 * TODO(bradchen): figure out where to move this include file and then |
8 * move it. | 8 * move it. |
9 */ | 9 */ |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 /* ============================================================ */ | 155 /* ============================================================ */ |
156 | 156 |
157 typedef int (*TYPE_nacl_getdents) (int desc, void *dirp, size_t count); | 157 typedef int (*TYPE_nacl_getdents) (int desc, void *dirp, size_t count); |
158 | 158 |
159 typedef int (*TYPE_nacl_gettimeofday) (struct timeval *tv, void *tz); | 159 typedef int (*TYPE_nacl_gettimeofday) (struct timeval *tv, void *tz); |
160 | 160 |
161 typedef int (*TYPE_nacl_sched_yield) (void); | 161 typedef int (*TYPE_nacl_sched_yield) (void); |
162 | 162 |
163 typedef int (*TYPE_nacl_sysconf) (int name, int *res); | 163 typedef int (*TYPE_nacl_sysconf) (int name, int *res); |
164 | 164 |
165 typedef void *(*TYPE_nacl_sysbrk) (void *p); | 165 typedef void *(*TYPE_nacl_brk) (void *p); |
166 | 166 |
167 typedef pid_t (*TYPE_nacl_getpid) (void); | 167 typedef pid_t (*TYPE_nacl_getpid) (void); |
168 | 168 |
169 typedef clock_t (*TYPE_nacl_clock) (void); | 169 typedef clock_t (*TYPE_nacl_clock) (void); |
170 | 170 |
171 typedef int (*TYPE_nacl_nanosleep) (const struct timespec *req, | 171 typedef int (*TYPE_nacl_nanosleep) (const struct timespec *req, |
172 struct timespec *rem); | 172 struct timespec *rem); |
173 | 173 |
174 typedef int (*TYPE_nacl_clock_getres) (clockid_t clk_id, | 174 typedef int (*TYPE_nacl_clock_getres) (clockid_t clk_id, |
175 struct timespec *res); | 175 struct timespec *res); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 typedef int (*TYPE_nacl_test_infoleak) (void); | 212 typedef int (*TYPE_nacl_test_infoleak) (void); |
213 | 213 |
214 typedef int (*TYPE_nacl_test_crash) (int crash_type); | 214 typedef int (*TYPE_nacl_test_crash) (int crash_type); |
215 | 215 |
216 #if defined(__cplusplus) | 216 #if defined(__cplusplus) |
217 } | 217 } |
218 #endif | 218 #endif |
219 | 219 |
220 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ | 220 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ |
OLD | NEW |