OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // WARNING this file was generated by generate_nacl_bindings.py | 5 // WARNING this file was generated by generate_nacl_bindings.py |
6 // Do not edit by hand. | 6 // Do not edit by hand. |
7 | 7 |
8 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 8 #ifndef MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
9 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 9 #define MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
10 | 10 |
11 #include "third_party/mojo/src/mojo/public/c/system/buffer.h" | 11 #include "mojo/public/c/system/buffer.h" |
12 #include "third_party/mojo/src/mojo/public/c/system/data_pipe.h" | 12 #include "mojo/public/c/system/data_pipe.h" |
13 #include "third_party/mojo/src/mojo/public/c/system/message_pipe.h" | 13 #include "mojo/public/c/system/message_pipe.h" |
14 #include "third_party/mojo/src/mojo/public/c/system/types.h" | 14 #include "mojo/public/c/system/types.h" |
15 | 15 |
16 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" | 16 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" |
17 | 17 |
18 struct nacl_irt_mojo { | 18 struct nacl_irt_mojo { |
19 MojoResult (*MojoCreateSharedBuffer)( | 19 MojoResult (*MojoCreateSharedBuffer)( |
20 const struct MojoCreateSharedBufferOptions* options, | 20 const struct MojoCreateSharedBufferOptions* options, |
21 uint64_t num_bytes, | 21 uint64_t num_bytes, |
22 MojoHandle* shared_buffer_handle); | 22 MojoHandle* shared_buffer_handle); |
23 MojoResult (*MojoDuplicateBufferHandle)( | 23 MojoResult (*MojoDuplicateBufferHandle)( |
24 MojoHandle buffer_handle, | 24 MojoHandle buffer_handle, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #endif | 90 #endif |
91 | 91 |
92 size_t mojo_irt_query(const char* interface_ident, | 92 size_t mojo_irt_query(const char* interface_ident, |
93 void* table, | 93 void* table, |
94 size_t tablesize); | 94 size_t tablesize); |
95 | 95 |
96 #ifdef __cplusplus | 96 #ifdef __cplusplus |
97 } | 97 } |
98 #endif | 98 #endif |
99 | 99 |
100 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 100 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
OLD | NEW |