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 |
11 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H | 11 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H |
12 #define NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H | 12 #define NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H |
13 | 13 |
14 #if defined(__cplusplus) | 14 #if defined(__cplusplus) |
15 extern "C" { | 15 extern "C" { |
16 #endif | 16 #endif |
17 | 17 |
| 18 #include <stdint.h> |
18 #include <sys/types.h> | 19 #include <sys/types.h> |
19 #include <time.h> | 20 #include <time.h> |
20 | 21 |
21 #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h
" | 22 #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h
" |
22 #include "native_client/src/trusted/service_runtime/nacl_config.h" | 23 #include "native_client/src/trusted/service_runtime/nacl_config.h" |
23 | 24 |
24 struct NaClExceptionContext; | 25 struct NaClExceptionContext; |
25 struct NaClAbiNaClImcMsgHdr; | 26 struct NaClAbiNaClImcMsgHdr; |
26 struct NaClMemMappingInfo; | 27 struct NaClMemMappingInfo; |
27 struct stat; | 28 struct stat; |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 265 |
265 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake); | 266 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake); |
266 | 267 |
267 typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size); | 268 typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size); |
268 | 269 |
269 #if defined(__cplusplus) | 270 #if defined(__cplusplus) |
270 } | 271 } |
271 #endif | 272 #endif |
272 | 273 |
273 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ | 274 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ |
OLD | NEW |