1 #ifndef CLIB_CIA_PROTOS_H 2 #define CLIB_CIA_PROTOS_H 3 4 /* 5 cia.resource C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef EXEC_INTERRUPTS_H 15 # include <exec/interrupts.h> 16 #endif 17 18 #ifndef EXEC_LIBRARIES_H 19 # include <exec/libraries.h> 20 #endif 21 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 struct Interrupt *AddICRVector( struct Library *resource, LONG iCRBit, struct Interrupt *interrupt ); 28 VOID RemICRVector( struct Library *resource, LONG iCRBit, struct Interrupt *interrupt ); 29 WORD AbleICR( struct Library *resource, LONG mask ); 30 WORD SetICR( struct Library *resource, LONG mask ); 31 32 #ifdef __cplusplus 33 } 34 #endif /* __cplusplus */ 35 36 37 #endif /* CLIB_CIA_PROTOS_H */