home *** CD-ROM | disk | FTP | other *** search
- #ifdef __PPC__
- #include <clib/exec_protos.h>
- #include <clib/dos_protos.h>
- #else
- #include <pragma/dos_lib.h>
- #include <pragma/exec_lib.h>
- #endif
- #include <libraries/asyncio.h>
-
- /* this macro lets us long-align structures on the stack */
- #define D_S(type,name) char a_##name[ sizeof( type )+3]; type *name=(type *)((LONG)(a_##name+3)&~3);
-
- #ifndef MIN
- #define MIN(a,b) ((a)<(b)?(a):(b))
- #endif
-
- struct AsyncFile *AS_OpenAsyncFH(BPTR handle,OpenModes mode,LONG bufferSize,BOOL closeIt);
- VOID AS_SendPacket(struct AsyncFile *file,APTR arg2);
- LONG AS_WaitPacket(struct AsyncFile *file);
- VOID AS_RequeuePacket(struct AsyncFile *file);
- VOID AS_RecordSyncFailure(struct AsyncFile *file);
-
-