#ifndef CLIB_AMIGAGUIDE_PROTOS_H #define CLIB_AMIGAGUIDE_PROTOS_H /* ** $VER: amigaguide_protos.h 47.1 (30.11.2021) ** ** 'C' prototypes. For use with 32 bit integers only. ** ** Copyright (C) 2019-2022 Hyperion Entertainment CVBA. ** Developed under license. */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef EXEC_LIBRARIES_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 /*--- functions in V40 or higher (Release 3.1) ---*/ /* Public entries */ LONG LockAmigaGuideBase( APTR handle ); VOID UnlockAmigaGuideBase( LONG key ); APTR OpenAmigaGuideA( struct NewAmigaGuide *nag, CONST struct TagItem *attrs ); APTR OpenAmigaGuide( struct NewAmigaGuide *nag, ... ); APTR OpenAmigaGuideAsyncA( struct NewAmigaGuide *nag, CONST struct TagItem *attrs ); APTR OpenAmigaGuideAsync( struct NewAmigaGuide *nag, ... ); VOID CloseAmigaGuide( APTR cl ); ULONG AmigaGuideSignal( APTR cl ); struct AmigaGuideMsg *GetAmigaGuideMsg( APTR cl ); VOID ReplyAmigaGuideMsg( struct AmigaGuideMsg *amsg ); LONG SetAmigaGuideContextA( APTR cl, ULONG id, CONST struct TagItem *attrs ); LONG SetAmigaGuideContext( APTR cl, ULONG id, ... ); LONG SendAmigaGuideContextA( APTR cl, CONST struct TagItem *attrs ); LONG SendAmigaGuideContext( APTR cl, ... ); LONG SendAmigaGuideCmdA( APTR cl, STRPTR cmd, CONST struct TagItem *attrs ); LONG SendAmigaGuideCmd( APTR cl, CONST_STRPTR cmd, ... ); LONG SetAmigaGuideAttrsA( APTR cl, CONST struct TagItem *attrs ); LONG SetAmigaGuideAttrs( APTR cl, ... ); LONG GetAmigaGuideAttr( Tag tag1, APTR cl, ULONG *storage ); LONG LoadXRef( BPTR lock, STRPTR name ); VOID ExpungeXRef( VOID ); APTR AddAmigaGuideHostA( struct Hook *h, CONST_STRPTR name, CONST struct TagItem *attrs ); APTR AddAmigaGuideHost( struct Hook *h, CONST_STRPTR name, ... ); LONG RemoveAmigaGuideHostA( APTR hh, CONST struct TagItem *attrs ); LONG RemoveAmigaGuideHost( APTR hh, ... ); STRPTR GetAmigaGuideString( LONG id ); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CLIB_AMIGAGUIDE_PROTOS_H */