#ifndef CLIB_AMIGAGUIDE_PROTOS_H #define CLIB_AMIGAGUIDE_PROTOS_H /* ** $VER: amigaguide_protos.h 39.3 (27.5.93) ** Includes Release 40.15 ** ** C prototypes. For use with 32 bit integers only. ** ** (C) Copyright 1990-1993 Commodore-Amiga, Inc. ** All Rights Reserved */ #ifndef EXEC_TYPES_H #include #endif #ifndef EXEC_PORTS_H #include #endif #ifndef DOS_DOS_H #include #endif #ifndef LIBRARIES_AMIGAGUIDE_H #include #endif #ifndef UTILITY_TAGITEM_H #include #endif #ifndef UTILITY_HOOKS_H #include #endif #ifndef REXX_STORAGE_H #include #endif #ifdef __cplusplus extern "C" { #endif /*--- functions in V40 or higher (Release 3.1) ---*/ /* Public entries */ LONG LockAmigaGuideBase( APTR handle ); void UnlockAmigaGuideBase( long key ); APTR OpenAmigaGuideA( struct NewAmigaGuide *nag, struct TagItem * ); APTR OpenAmigaGuide( struct NewAmigaGuide *nag, Tag tag1, ... ); APTR OpenAmigaGuideAsyncA( struct NewAmigaGuide *nag, struct TagItem *attrs ); APTR OpenAmigaGuideAsync( struct NewAmigaGuide *nag, Tag tag1, ... ); void CloseAmigaGuide( APTR cl ); ULONG AmigaGuideSignal( APTR cl ); struct AmigaGuideMsg *GetAmigaGuideMsg( APTR cl ); void ReplyAmigaGuideMsg( struct AmigaGuideMsg *amsg ); LONG SetAmigaGuideContextA( APTR cl, unsigned long id, struct TagItem *attrs ); LONG SetAmigaGuideContext( APTR cl, unsigned long id, Tag tag1, ... ); LONG SendAmigaGuideContextA( APTR cl, struct TagItem *attrs ); LONG SendAmigaGuideContext( APTR cl, Tag tag1, ... ); LONG SendAmigaGuideCmdA( APTR cl, STRPTR cmd, struct TagItem *attrs ); LONG SendAmigaGuideCmd( APTR cl, STRPTR cmd, Tag tag1, ... ); LONG SetAmigaGuideAttrsA( APTR cl, struct TagItem *attrs ); LONG SetAmigaGuideAttrs( APTR cl, Tag tag1, ... ); LONG GetAmigaGuideAttr( Tag tag, APTR cl, ULONG *storage ); LONG LoadXRef( BPTR lock, STRPTR name ); void ExpungeXRef( void ); APTR AddAmigaGuideHostA( struct Hook *h, STRPTR name, struct TagItem *attrs ); APTR AddAmigaGuideHost( struct Hook *h, STRPTR name, Tag tag1, ... ); LONG RemoveAmigaGuideHostA( APTR hh, struct TagItem *attrs ); LONG RemoveAmigaGuideHost( APTR hh, Tag tag1, ... ); STRPTR GetAmigaGuideString( long id ); #ifdef __cplusplus } #endif #ifdef STORMPRAGMAS #ifndef _INCLUDE_PRAGMA_AMIGAGUIDE_LIB_H #include #endif #endif #endif /* CLIB_AMIGAGUIDE_PROTOS_H */