| 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 |
| 11 #include "mojo/public/c/system/buffer.h" | 11 #include "mojo/public/c/system/buffer.h" |
| 12 #include "mojo/public/c/system/data_pipe.h" | 12 #include "mojo/public/c/system/data_pipe.h" |
| 13 #include "mojo/public/c/system/handle.h" | 13 #include "mojo/public/c/system/handle.h" |
| 14 #include "mojo/public/c/system/message_pipe.h" | 14 #include "mojo/public/c/system/message_pipe.h" |
| 15 #include "mojo/public/c/system/result.h" | 15 #include "mojo/public/c/system/result.h" |
| 16 #include "mojo/public/c/system/types.h" | 16 #include "mojo/public/c/system/time.h" |
| 17 | 17 |
| 18 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" | 18 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" |
| 19 | 19 |
| 20 struct nacl_irt_mojo { | 20 struct nacl_irt_mojo { |
| 21 MojoResult (*_MojoGetInitialHandle)(MojoHandle* handle); | 21 MojoResult (*_MojoGetInitialHandle)(MojoHandle* handle); |
| 22 MojoTimeTicks (*MojoGetTimeTicksNow)(); | 22 MojoTimeTicks (*MojoGetTimeTicksNow)(); |
| 23 MojoResult (*MojoClose)(MojoHandle handle); | 23 MojoResult (*MojoClose)(MojoHandle handle); |
| 24 MojoResult (*MojoWait)(MojoHandle handle, | 24 MojoResult (*MojoWait)(MojoHandle handle, |
| 25 MojoHandleSignals signals, | 25 MojoHandleSignals signals, |
| 26 MojoDeadline deadline, | 26 MojoDeadline deadline, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 size_t mojo_irt_query(const char* interface_ident, | 97 size_t mojo_irt_query(const char* interface_ident, |
| 98 void* table, | 98 void* table, |
| 99 size_t tablesize); | 99 size_t tablesize); |
| 100 | 100 |
| 101 #ifdef __cplusplus | 101 #ifdef __cplusplus |
| 102 } | 102 } |
| 103 #endif | 103 #endif |
| 104 | 104 |
| 105 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ | 105 #endif // MOJO_PUBLIC_PLATFORM_NACL_MOJO_IRT_H_ |
| OLD | NEW |