home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / cardres_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  1.5 KB  |  55 lines

  1. #ifndef  CLIB_CARDRES_PROTOS_H
  2. #define  CLIB_CARDRES_PROTOS_H
  3.  
  4. /*
  5. **    $VER: cardres_protos.h 1.2 (8.9.92)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  EXEC_RESIDENT_H
  18. #include <exec/resident.h>
  19. #endif
  20. #ifndef  RESOURCES_CARD_H
  21. #include <resources/card.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. #define CLIBCPLUSON
  26. #pragma -
  27. #endif
  28.  
  29. struct CardHandle *OwnCard( struct CardHandle *handle );
  30. void ReleaseCard( struct CardHandle *handle, unsigned long flags );
  31. struct CardMemoryMap *GetCardMap( void );
  32. BOOL BeginCardAccess( struct CardHandle *handle );
  33. BOOL EndCardAccess( struct CardHandle *handle );
  34. UBYTE ReadCardStatus( void );
  35. BOOL CardResetRemove( struct CardHandle *handle, unsigned long flag );
  36. UBYTE CardMiscControl( struct CardHandle *handle,
  37.     unsigned long control_bits );
  38. ULONG CardAccessSpeed( struct CardHandle *handle, unsigned long nanoseconds );
  39. LONG CardProgramVoltage( struct CardHandle *handle, unsigned long voltage );
  40. BOOL CardResetCard( struct CardHandle *handle );
  41. BOOL CopyTuple( struct CardHandle *handle, UBYTE *buffer,
  42.     unsigned long tuplecode, unsigned long size );
  43. ULONG DeviceTuple( UBYTE *tuple_data, struct DeviceTData *storage );
  44. struct Resident *IfAmigaXIP( struct CardHandle *handle );
  45. BOOL CardForceChange( void );
  46. ULONG CardChangeCount( void );
  47. ULONG CardInterface( void );
  48.  
  49. #ifdef CLIBCPLUSON
  50. #undef CLIBCPLUSON
  51. #pragma +
  52. #endif
  53.  
  54. #endif     /* CLIB_CARDRES_PROTOS_H */
  55.