Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/ioctl.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h ('k') | native_client_sdk/src/libraries/nacl_io/kernel_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698