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

  1. #ifndef  CLIB_AMIGAGUIDE_PROTOS_H
  2. #define  CLIB_AMIGAGUIDE_PROTOS_H
  3.  
  4. /*
  5. **    $VER: amigaguide_protos.h 39.3 (27.5.93)
  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_PORTS_H
  18. #include <exec/ports.h>
  19. #endif
  20. #ifndef  DOS_DOS_H
  21. #include <dos/dos.h>
  22. #endif
  23. #ifndef  LIBRARIES_AMIGAGUIDE_H
  24. #include <libraries/amigaguide.h>
  25. #endif
  26. #ifndef  UTILITY_TAGITEM_H
  27. #include <utility/tagitem.h>
  28. #endif
  29. #ifndef  UTILITY_HOOKS_H
  30. #include <utility/hooks.h>
  31. #endif
  32. #ifndef  REXX_STORAGE_H
  33. #include <rexx/storage.h>
  34. #endif
  35.  
  36. #ifdef __cplusplus
  37. #define CLIBCPLUSON
  38. #pragma -
  39. #endif
  40.  
  41. /*--- functions in V40 or higher (Release 3.1) ---*/
  42.  
  43. /* Public entries */
  44.  
  45. LONG LockAmigaGuideBase( APTR handle );
  46. void UnlockAmigaGuideBase( long key );
  47. APTR OpenAmigaGuideA( struct NewAmigaGuide *nag, struct TagItem * );
  48. APTR OpenAmigaGuide( struct NewAmigaGuide *nag, Tag tag1, ... );
  49. APTR OpenAmigaGuideAsyncA( struct NewAmigaGuide *nag, struct TagItem *attrs );
  50. APTR OpenAmigaGuideAsync( struct NewAmigaGuide *nag, Tag tag1, ... );
  51. void CloseAmigaGuide( APTR cl );
  52. ULONG AmigaGuideSignal( APTR cl );
  53. struct AmigaGuideMsg *GetAmigaGuideMsg( APTR cl );
  54. void ReplyAmigaGuideMsg( struct AmigaGuideMsg *amsg );
  55. LONG SetAmigaGuideContextA( APTR cl, unsigned long id,
  56.     struct TagItem *attrs );
  57. LONG SetAmigaGuideContext( APTR cl, unsigned long id, Tag tag1, ... );
  58. LONG SendAmigaGuideContextA( APTR cl, struct TagItem *attrs );
  59. LONG SendAmigaGuideContext( APTR cl, Tag tag1, ... );
  60. LONG SendAmigaGuideCmdA( APTR cl, STRPTR cmd, struct TagItem *attrs );
  61. LONG SendAmigaGuideCmd( APTR cl, STRPTR cmd, Tag tag1, ... );
  62. LONG SetAmigaGuideAttrsA( APTR cl, struct TagItem *attrs );
  63. LONG SetAmigaGuideAttrs( APTR cl, Tag tag1, ... );
  64. LONG GetAmigaGuideAttr( Tag tag, APTR cl, ULONG *storage );
  65. LONG LoadXRef( BPTR lock, STRPTR name );
  66. void ExpungeXRef( void );
  67. APTR AddAmigaGuideHostA( struct Hook *h, STRPTR name, struct TagItem *attrs );
  68. APTR AddAmigaGuideHost( struct Hook *h, STRPTR name, Tag tag1, ... );
  69. LONG RemoveAmigaGuideHostA( APTR hh, struct TagItem *attrs );
  70. LONG RemoveAmigaGuideHost( APTR hh, Tag tag1, ... );
  71. STRPTR GetAmigaGuideString( long id );
  72.  
  73. #ifdef CLIBCPLUSON
  74. #undef CLIBCPLUSON
  75. #pragma +
  76. #endif
  77.  
  78. #endif     /* CLIB_AMIGAGUIDE_PROTOS_H */
  79.