1 /* 2 * Copyright 2009, Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _IO_REQUESTS_H 6 #define _IO_REQUESTS_H 7 8 /*! I/O request interface */ 9 10 11 #include <SupportDefs.h> 12 13 14 typedef struct IORequest io_request; 15 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 bool io_request_is_write(const io_request* request); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif /* _IO_REQUESTS_H */ 28