1 #ifndef CLIB_CAPSIMAGE_PROTOS_H
2 #define CLIB_CAPSIMAGE_PROTOS_H
6 ** $VER: capsimage_protos.h 1.0 (30.03.2010)
8 ** C prototypes. For use with 32 bit integers only.
11 ** All Rights Reserved
14 #include <exec/types.h>
16 CapsLong
CAPSInit(void);
17 CapsLong
CAPSExit(void);
18 CapsLong
CAPSAddImage(void);
19 CapsLong
CAPSRemImage(CapsLong id
);
20 CapsLong
CAPSLockImage(CapsLong id
, CONST_STRPTR name
);
21 CapsLong
CAPSLockImageMemory(CapsLong id
, CapsUByte
* buffer
, CapsULong length
, CapsULong flag
);
22 CapsLong
CAPSUnlockImage(CapsLong id
);
23 CapsLong
CAPSLoadImage(CapsLong id
, CapsULong flag
);
24 CapsLong
CAPSGetImageInfo(struct CapsImageInfo
* pi
, CapsLong id
);
25 CapsLong
CAPSLockTrack(struct CapsTrackInfo
* pi
, CapsLong id
, CapsULong cylinder
,
26 CapsULong head
, CapsULong flag
);
27 CapsLong
CAPSUnlockTrack(CapsLong id
, CapsULong cylinder
, CapsULong head
);
28 CapsLong
CAPSUnlockAllTracks(CapsLong id
);
29 CONST_STRPTR
CAPSGetPlatformName(CapsULong pid
);
30 CapsLong
CAPSGetVersionInfo(struct CapsVersionInfo
* pi
, CapsULong flag
);
32 #endif /* CLIB_CAPSIMAGE_PROTOS_H */