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 9 /*! I/O request interface */ 10 11 12 #include <SupportDefs.h> 13 14 15 typedef struct IORequest io_request; 16 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 bool io_request_is_write(const io_request* request); 23 void notify_io_request(io_request* request, status_t status); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 30 #endif /* _IO_REQUESTS_H */ 31