| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 MojoResult (*MojoWriteData)(MojoHandle data_pipe_producer_handle, | 54 MojoResult (*MojoWriteData)(MojoHandle data_pipe_producer_handle, |
| 55 const void* elements, | 55 const void* elements, |
| 56 uint32_t* num_bytes, | 56 uint32_t* num_bytes, |
| 57 MojoWriteDataFlags flags); | 57 MojoWriteDataFlags flags); |
| 58 MojoResult (*MojoBeginWriteData)(MojoHandle data_pipe_producer_handle, | 58 MojoResult (*MojoBeginWriteData)(MojoHandle data_pipe_producer_handle, |
| 59 void** buffer, | 59 void** buffer, |
| 60 uint32_t* buffer_num_bytes, | 60 uint32_t* buffer_num_bytes, |
| 61 MojoWriteDataFlags flags); | 61 MojoWriteDataFlags flags); |
| 62 MojoResult (*MojoEndWriteData)(MojoHandle data_pipe_producer_handle, | 62 MojoResult (*MojoEndWriteData)(MojoHandle data_pipe_producer_handle, |
| 63 uint32_t num_bytes_written); | 63 uint32_t num_bytes_written); |
| 64 MojoResult (*MojoSetDataPipeConsumerOptions)( |
| 65 MojoHandle data_pipe_consumer_handle, |
| 66 const struct MojoDataPipeConsumerOptions* options); |
| 67 MojoResult (*MojoGetDataPipeConsumerOptions)( |
| 68 MojoHandle data_pipe_consumer_handle, |
| 69 struct MojoDataPipeConsumerOptions* options, |
| 70 uint32_t options_num_bytes); |
| 64 MojoResult (*MojoReadData)(MojoHandle data_pipe_consumer_handle, | 71 MojoResult (*MojoReadData)(MojoHandle data_pipe_consumer_handle, |
| 65 void* elements, | 72 void* elements, |
| 66 uint32_t* num_bytes, | 73 uint32_t* num_bytes, |
| 67 MojoReadDataFlags flags); | 74 MojoReadDataFlags flags); |
| 68 MojoResult (*MojoBeginReadData)(MojoHandle data_pipe_consumer_handle, | 75 MojoResult (*MojoBeginReadData)(MojoHandle data_pipe_consumer_handle, |
| 69 const void** buffer, | 76 const void** buffer, |
| 70 uint32_t* buffer_num_bytes, | 77 uint32_t* buffer_num_bytes, |
| 71 MojoReadDataFlags flags); | 78 MojoReadDataFlags flags); |
| 72 MojoResult (*MojoEndReadData)(MojoHandle data_pipe_consumer_handle, | 79 MojoResult (*MojoEndReadData)(MojoHandle data_pipe_consumer_handle, |
| 73 uint32_t num_bytes_read); | 80 uint32_t num_bytes_read); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 96 | 103 |
| 97 size_t mojo_irt_query(const char* interface_ident, | 104 size_t mojo_irt_query(const char* interface_ident, |
| 98 void* table, | 105 void* table, |
| 99 size_t tablesize); | 106 size_t tablesize); |
| 100 | 107 |
| 101 #ifdef __cplusplus | 108 #ifdef __cplusplus |
| 102 } | 109 } |
| 103 #endif | 110 #endif |
| 104 | 111 |
| 105 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 112 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
| OLD | NEW |