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 /* | 7 /* |
8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. | 8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. |
9 */ | 9 */ |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 enum NaClDescTypeTag { | 77 enum NaClDescTypeTag { |
78 NACL_DESC_INVALID, | 78 NACL_DESC_INVALID, |
79 NACL_DESC_DIR, | 79 NACL_DESC_DIR, |
80 NACL_DESC_HOST_IO, | 80 NACL_DESC_HOST_IO, |
81 NACL_DESC_CONN_CAP, | 81 NACL_DESC_CONN_CAP, |
82 NACL_DESC_CONN_CAP_FD, | 82 NACL_DESC_CONN_CAP_FD, |
83 NACL_DESC_BOUND_SOCKET, | 83 NACL_DESC_BOUND_SOCKET, |
84 NACL_DESC_CONNECTED_SOCKET, | 84 NACL_DESC_CONNECTED_SOCKET, |
85 NACL_DESC_SHM, | 85 NACL_DESC_SHM, |
86 NACL_DESC_SYSV_SHM, | |
87 NACL_DESC_MUTEX, | 86 NACL_DESC_MUTEX, |
88 NACL_DESC_CONDVAR, | 87 NACL_DESC_CONDVAR, |
89 NACL_DESC_SEMAPHORE, | 88 NACL_DESC_SEMAPHORE, |
90 NACL_DESC_SYNC_SOCKET, | 89 NACL_DESC_SYNC_SOCKET, |
91 NACL_DESC_TRANSFERABLE_DATA_SOCKET, | 90 NACL_DESC_TRANSFERABLE_DATA_SOCKET, |
92 NACL_DESC_IMC_SOCKET, | 91 NACL_DESC_IMC_SOCKET, |
93 NACL_DESC_QUOTA, | 92 NACL_DESC_QUOTA, |
94 NACL_DESC_DEVICE_RNG, | 93 NACL_DESC_DEVICE_RNG, |
95 NACL_DESC_DEVICE_POSTMESSAGE, | 94 NACL_DESC_DEVICE_POSTMESSAGE, |
96 NACL_DESC_CUSTOM, | 95 NACL_DESC_CUSTOM, |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 int NaClDescIsSafeForMmap(struct NaClDesc *self); | 666 int NaClDescIsSafeForMmap(struct NaClDesc *self); |
668 | 667 |
669 void NaClDescMarkSafeForMmap(struct NaClDesc *self); | 668 void NaClDescMarkSafeForMmap(struct NaClDesc *self); |
670 | 669 |
671 void NaClDescMarkUnsafeForMmap(struct NaClDesc *self); | 670 void NaClDescMarkUnsafeForMmap(struct NaClDesc *self); |
672 | 671 |
673 | 672 |
674 EXTERN_C_END | 673 EXTERN_C_END |
675 | 674 |
676 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_BASE_H_ | 675 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_BASE_H_ |
OLD | NEW |