summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/win32/aio.h')
-rw-r--r--PACE/pace/win32/aio.h71
1 files changed, 3 insertions, 68 deletions
diff --git a/PACE/pace/win32/aio.h b/PACE/pace/win32/aio.h
index ab384ed67cd..764372de642 100644
--- a/PACE/pace/win32/aio.h
+++ b/PACE/pace/win32/aio.h
@@ -13,8 +13,8 @@
*
* ============================================================================ */
-#ifndef PACE_AIO_H
-#define PACE_AIO_H
+#ifndef PACE_AIO_H_WIN32
+#define PACE_AIO_H_WIN32
#include "pace/time.h"
#include "pace/signal.h"
@@ -37,73 +37,8 @@ extern "C" {
typedef struct aiocb pace_aiocb;
#endif /* PACE_AIOCB */
- /**
- PACE's implementation of the POSIX function aio_cancel.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.7.
- */
- PACE_INLINE int pace_aio_cancel (int fildes, pace_aiocb * aiocb);
-
- /**
- PACE's implementation of the POSIX function aio_error.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.5.
- */
- PACE_INLINE int pace_aio_error (const pace_aiocb * aiocbp);
-
- /**
- PACE's implementation of the POSIX function aio_fsync.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.9.
- */
- PACE_INLINE int pace_aio_fsync (int op, pace_aiocb * aiocbp);
-
- /**
- PACE's implementation of the POSIX function aio_read.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.2.
- */
- PACE_INLINE int pace_aio_read (pace_aiocb * aiocbp);
-
- /**
- PACE's implementation of the POSIX function aio_return.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.6.
- */
- PACE_INLINE int pace_aio_return (pace_aiocb * aiocbp);
-
- /**
- PACE's implementation of the POSIX function aio_suspend.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.8.
- */
- PACE_INLINE int pace_aio_suspend (const pace_aiocb * const list[],
- int nent,
- const pace_timespec * timeout);
-
- /**
- PACE's implementation of the POSIX function aio_write.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.3.
- */
- PACE_INLINE int pace_aio_write (pace_aiocb * aiocbp);
-
- /**
- PACE's implementation of the POSIX function lio_listio.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), section 6.7.4.
- */
- PACE_INLINE int pace_lio_listio (int mode,
- pace_aiocb * const list[],
- int nent,
- pace_sigevent * sig);
-
#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */
-#if defined (PACE_HAS_INLINE)
-# include "pace/win32/aio.inl"
-#endif /* PACE_HAS_INLINE */
-
-#endif /* PACE_AIO_H */
+#endif /* PACE_AIO_H_WIN32 */