| 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 MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 8 #ifndef MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
| 9 #define MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 9 #define MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 MojoResult (*MojoReadMessage)(MojoHandle message_pipe_handle, | 44 MojoResult (*MojoReadMessage)(MojoHandle message_pipe_handle, |
| 45 void* bytes, | 45 void* bytes, |
| 46 uint32_t* num_bytes, | 46 uint32_t* num_bytes, |
| 47 MojoHandle* handles, | 47 MojoHandle* handles, |
| 48 uint32_t* num_handles, | 48 uint32_t* num_handles, |
| 49 MojoReadMessageFlags flags); | 49 MojoReadMessageFlags flags); |
| 50 MojoResult (*MojoCreateDataPipe)( | 50 MojoResult (*MojoCreateDataPipe)( |
| 51 const struct MojoCreateDataPipeOptions* options, | 51 const struct MojoCreateDataPipeOptions* options, |
| 52 MojoHandle* data_pipe_producer_handle, | 52 MojoHandle* data_pipe_producer_handle, |
| 53 MojoHandle* data_pipe_consumer_handle); | 53 MojoHandle* data_pipe_consumer_handle); |
| 54 MojoResult (*MojoSetDataPipeProducerOptions)( |
| 55 MojoHandle data_pipe_producer_handle, |
| 56 const struct MojoDataPipeProducerOptions* options); |
| 57 MojoResult (*MojoGetDataPipeProducerOptions)( |
| 58 MojoHandle data_pipe_producer_handle, |
| 59 struct MojoDataPipeProducerOptions* options, |
| 60 uint32_t options_num_bytes); |
| 54 MojoResult (*MojoWriteData)(MojoHandle data_pipe_producer_handle, | 61 MojoResult (*MojoWriteData)(MojoHandle data_pipe_producer_handle, |
| 55 const void* elements, | 62 const void* elements, |
| 56 uint32_t* num_bytes, | 63 uint32_t* num_bytes, |
| 57 MojoWriteDataFlags flags); | 64 MojoWriteDataFlags flags); |
| 58 MojoResult (*MojoBeginWriteData)(MojoHandle data_pipe_producer_handle, | 65 MojoResult (*MojoBeginWriteData)(MojoHandle data_pipe_producer_handle, |
| 59 void** buffer, | 66 void** buffer, |
| 60 uint32_t* buffer_num_bytes, | 67 uint32_t* buffer_num_bytes, |
| 61 MojoWriteDataFlags flags); | 68 MojoWriteDataFlags flags); |
| 62 MojoResult (*MojoEndWriteData)(MojoHandle data_pipe_producer_handle, | 69 MojoResult (*MojoEndWriteData)(MojoHandle data_pipe_producer_handle, |
| 63 uint32_t num_bytes_written); | 70 uint32_t num_bytes_written); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 110 |
| 104 size_t mojo_irt_query(const char* interface_ident, | 111 size_t mojo_irt_query(const char* interface_ident, |
| 105 void* table, | 112 void* table, |
| 106 size_t tablesize); | 113 size_t tablesize); |
| 107 | 114 |
| 108 #ifdef __cplusplus | 115 #ifdef __cplusplus |
| 109 } | 116 } |
| 110 #endif | 117 #endif |
| 111 | 118 |
| 112 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 119 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
| OLD | NEW |