aa4ba93e25
IORequest.{h,cpp}. * Introduced public <io_requests.h> header. Currently it only declares the single function BFS uses. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29446 a95241bf-73f2-0310-859d-f6bbb57e9c96
28 lines
404 B
C
28 lines
404 B
C
/*
|
|
* Copyright 2009, Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _IO_REQUESTS_H
|
|
#define _IO_REQUESTS_H
|
|
|
|
/*! I/O request interface */
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
typedef struct IORequest io_request;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool io_request_is_write(const io_request* request);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _IO_REQUESTS_H */
|