1 #ifndef CLIB_ASL_PROTOS_H 2 #define CLIB_ASL_PROTOS_H 3 4 /* 5 asl.library C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef UTILITY_TAGITEM_H 15 # include <utility/tagitem.h> 16 #endif 17 18 #ifndef LIBRARIES_ASL_H 19 # include <libraries/asl.h> 20 #endif 21 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 struct FileRequester *AllocFileRequest( VOID ); 28 VOID FreeFileRequest( struct FileRequester *fileReq ); 29 BOOL RequestFile( struct FileRequester *fileReq ); 30 APTR AllocAslRequest( ULONG reqType, struct TagItem *tagList ); 31 #if !defined(USE_INLINE_STDARG) 32 APTR AllocAslRequestTags( ULONG reqType, Tag tag1, ... ); 33 #endif 34 VOID FreeAslRequest( APTR requester ); 35 BOOL AslRequest( APTR requester, struct TagItem *tagList ); 36 #if !defined(USE_INLINE_STDARG) 37 BOOL AslRequestTags( APTR requester, Tag tag1, ... ); 38 #endif 39 VOID AbortAslRequest( APTR requester ); 40 VOID ActivateAslRequest( APTR requester ); 41 42 #ifdef __cplusplus 43 } 44 #endif /* __cplusplus */ 45 46 47 #endif /* CLIB_ASL_PROTOS_H */