| Index: native_client_sdk/src/libraries/nacl_io/ioctl.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/ioctl.h b/native_client_sdk/src/libraries/nacl_io/ioctl.h
|
| index e2b0ada77aeac7353f1e5e7d704ee47a6caa8b85..15cc467cebf028aae037667fb3e106305728e6e9 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/ioctl.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/ioctl.h
|
| @@ -33,9 +33,23 @@
|
| * unique prefix. Until a prefix is set on a given pipe any I/O operations
|
| * will return EIO.
|
| */
|
| -#define TIOCNACLPIPENAME 0xadcd04
|
| +#define NACL_IOC_PIPE_SETNAME 0xadcd04
|
|
|
| -typedef char* tioc_nacl_jspipe_name;
|
| +/*
|
| + * Find out how much space is available in a nacl_io pipe.
|
| + * Argument type is "int*" which will be set to the amount of space in the
|
| + * pipe in bytes.
|
| + */
|
| +#define NACL_IOC_PIPE_GETOSPACE 0xadcd06
|
| +#define NACL_IOC_PIPE_GETISPACE 0xadcd07
|
| +
|
| +/*
|
| + * ioctl used to pass messages from JavaScript to a jspipe node.
|
| + * Argument type is "struct PP_Var*".
|
| + */
|
| +#define NACL_IOC_HANDLEMESSAGE 0xadcd05
|
| +
|
| +typedef char* naclioc_jspipe_name;
|
|
|
| struct tioc_nacl_input_string {
|
| size_t length;
|
|
|