| OLD | NEW |
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 #ifndef LIBRARIES_NACL_IO_IOCTL_H_ | 5 #ifndef LIBRARIES_NACL_IO_IOCTL_H_ |
| 6 #define LIBRARIES_NACL_IO_IOCTL_H_ | 6 #define LIBRARIES_NACL_IO_IOCTL_H_ |
| 7 | 7 |
| 8 #include <sys/types.h> | 8 #include <sys/types.h> |
| 9 | 9 |
| 10 /* | 10 /* |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 */ | 49 */ |
| 50 #define NACL_IOC_HANDLEMESSAGE 0xadcd05 | 50 #define NACL_IOC_HANDLEMESSAGE 0xadcd05 |
| 51 | 51 |
| 52 typedef char* naclioc_jspipe_name; | 52 typedef char* naclioc_jspipe_name; |
| 53 | 53 |
| 54 struct tioc_nacl_input_string { | 54 struct tioc_nacl_input_string { |
| 55 size_t length; | 55 size_t length; |
| 56 const char* buffer; | 56 const char* buffer; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 | |
| 60 typedef ssize_t (*tioc_nacl_output_handler_t)(const char* buf, | 59 typedef ssize_t (*tioc_nacl_output_handler_t)(const char* buf, |
| 61 size_t count, | 60 size_t count, |
| 62 void* user_data); | 61 void* user_data); |
| 63 | 62 |
| 64 struct tioc_nacl_output { | 63 struct tioc_nacl_output { |
| 65 tioc_nacl_output_handler_t handler; | 64 tioc_nacl_output_handler_t handler; |
| 66 void* user_data; | 65 void* user_data; |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 | 68 |
| 70 #endif /* LIBRARIES_NACL_IO_NACL_IO_H_ */ | 69 #endif /* LIBRARIES_NACL_IO_NACL_IO_H_ */ |
| OLD | NEW |