home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / clib / asl_protos.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.4 KB  |  50 lines

  1. #ifndef __INC_POSA_CLIB_ASL_PROTOS_C
  2. #define __INC_POSA_CLIB_ASL_PROTOS_C
  3. /*******************************************************************
  4.  $CRT 10 Nov 1996 : hb
  5.  
  6.  $AUT Holger Burkarth
  7.  $DAT >>asl_protos.c<<   10 Nov 1996    17:15:43 - (C) ProDAD
  8. *******************************************************************/
  9. #pragma -
  10.  
  11. #define NOMYDEBUG
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16. #ifndef  LIBRARIES_ASL_H
  17. #include <libraries/asl.h>
  18. #endif
  19.  
  20. #ifndef __INC_POS_PROTO_PPSL2_H
  21. #include "p:proto/pPSL2.h"
  22. #endif
  23.  
  24. struct FileRequester *AllocFileRequest( void )
  25.   { return((APTR)pOS_AllocFileRequestA(NULL) );}
  26.  
  27. void FreeFileRequest( struct FileRequester *fileReq )
  28.   { pOS_FreePslRequest((APTR)fileReq); }
  29.  
  30. BOOL RequestFile( struct FileRequester *fileReq )
  31.   { return(pOS_PslFileRequestA((APTR)fileReq,NULL));}
  32.  
  33. APTR AllocAslRequest( unsigned long reqType, struct TagItem *tagList )
  34.   { return(pOS_AllocPslRequestA(reqType,(APTR)tagList));}
  35.  
  36. APTR AllocAslRequestTags( unsigned long reqType, Tag Tag1, ... )
  37.   { return(pOS_AllocPslRequestA(reqType,(APTR)&Tag1));}
  38.  
  39. void FreeAslRequest( APTR requester )
  40.   { pOS_FreePslRequest((APTR)requester); }
  41.  
  42. BOOL AslRequest( APTR requester, struct TagItem *tagList )
  43.   { return(pOS_PslRequestA((APTR)requester,(APTR)tagList));}
  44.  
  45. BOOL AslRequestTags( APTR requester, Tag Tag1, ... )
  46.   { return(pOS_PslRequestA((APTR)requester,(APTR)&Tag1));}
  47.  
  48.  
  49. #endif     /* CLIB_ASL_PROTOS_H */
  50.