… | |
… | |
38 | */ |
38 | */ |
39 | |
39 | |
40 | #ifndef EIO_H_ |
40 | #ifndef EIO_H_ |
41 | #define EIO_H_ |
41 | #define EIO_H_ |
42 | |
42 | |
|
|
43 | #ifdef __cplusplus |
|
|
44 | extern "C" { |
|
|
45 | #endif |
|
|
46 | |
43 | #include <stddef.h> |
47 | #include <stddef.h> |
44 | #include <sys/types.h> |
48 | #include <sys/types.h> |
45 | |
49 | |
46 | typedef struct eio_req eio_req; |
50 | typedef struct eio_req eio_req; |
47 | |
51 | |
… | |
… | |
217 | /*****************************************************************************/ |
221 | /*****************************************************************************/ |
218 | /* convinience functions */ |
222 | /* convinience functions */ |
219 | |
223 | |
220 | ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); |
224 | ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); |
221 | |
225 | |
|
|
226 | #ifdef __cplusplus |
|
|
227 | } |
222 | #endif |
228 | #endif |
223 | |
229 | |
|
|
230 | #endif |
|
|
231 | |