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

  1. #ifndef  CLIB_EXPANSION_PROTOS_H
  2. #define  CLIB_EXPANSION_PROTOS_H
  3.  
  4. /*
  5. **    $VER: expansion_protos.h 39.0 (31.10.91)
  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.  
  18. #ifdef __cplusplus
  19. #define CLIBCPLUSON
  20. #pragma -
  21. #endif
  22.  
  23. /*--- functions in V33 or higher (Release 1.2) ---*/
  24. void AddConfigDev( struct ConfigDev *configDev );
  25. /*--- functions in V36 or higher (Release 2.0) ---*/
  26. BOOL AddBootNode( long bootPri, unsigned long flags,
  27.     struct DeviceNode *deviceNode, struct ConfigDev *configDev );
  28. /*--- functions in V33 or higher (Release 1.2) ---*/
  29. void AllocBoardMem( unsigned long slotSpec );
  30. struct ConfigDev *AllocConfigDev( void );
  31. APTR AllocExpansionMem( unsigned long numSlots, unsigned long slotAlign );
  32. void ConfigBoard( APTR board, struct ConfigDev *configDev );
  33. void ConfigChain( APTR baseAddr );
  34. struct ConfigDev *FindConfigDev( struct ConfigDev *oldConfigDev,
  35.     long manufacturer, long product );
  36. void FreeBoardMem( unsigned long startSlot, unsigned long slotSpec );
  37. void FreeConfigDev( struct ConfigDev *configDev );
  38. void FreeExpansionMem( unsigned long startSlot, unsigned long numSlots );
  39. UBYTE ReadExpansionByte( APTR board, unsigned long offset );
  40. void ReadExpansionRom( APTR board, struct ConfigDev *configDev );
  41. void RemConfigDev( struct ConfigDev *configDev );
  42. void WriteExpansionByte( APTR board, unsigned long offset,
  43.     unsigned long byte );
  44. void ObtainConfigBinding( void );
  45. void ReleaseConfigBinding( void );
  46. void SetCurrentBinding( struct CurrentBinding *currentBinding,
  47.     unsigned long bindingSize );
  48. ULONG GetCurrentBinding( struct CurrentBinding *currentBinding,
  49.     unsigned long bindingSize );
  50. struct DeviceNode *MakeDosNode( APTR parmPacket );
  51. BOOL AddDosNode( long bootPri, unsigned long flags,
  52.     struct DeviceNode *deviceNode );
  53. /*--- functions in V36 or higher (Release 2.0) ---*/
  54.  
  55. #ifdef CLIBCPLUSON
  56. #undef CLIBCPLUSON
  57. #pragma +
  58. #endif
  59.  
  60. #endif     /* CLIB_EXPANSION_PROTOS_H */
  61.