home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / arexx / easyrexx.lha / EasyREXX / Include / clib / EasyRexx_protos.h
Encoding:
C/C++ Source or Header  |  1995-02-10  |  1.4 KB  |  48 lines

  1. /*
  2.  *    File:                    EasyRexx_protos.h
  3.  *    Description:    
  4.  *
  5.  *    (C) 1994,1995, Ketil Hunn
  6.  *
  7.  */
  8.  
  9. #ifndef CLIB_EASYREXX_PROTOS_H
  10. #define    CLIB_EASYREXX_PROTOS_H
  11.  
  12. #ifndef  CLIB_EXEC_PROTOS_H
  13. #include <clib/exec_protos.h>
  14. #endif
  15.  
  16. #ifndef ER_LIB
  17. #ifndef PRAGMAS_EASYREXX_PRAGMAS_H
  18. #include <pragmas/EasyRexx_pragmas.h>
  19. #endif
  20. #endif
  21.  
  22. #ifndef ER_LIB
  23. #ifndef EASYREXX_H
  24. #include <libraries/EasyRexx.h>
  25. #endif
  26. #endif
  27.  
  28. /*** PROTOTYPES **********************************************************************/
  29. __asm __saveds struct ARexxContext *AllocARexxContextA(register __a0 struct TagItem    *taglist);
  30. __asm __saveds void FreeARexxContext(register __a0 struct ARexxContext *context);
  31. __asm __saveds BYTE GetARexxMsg(register __a0 struct ARexxContext *context);
  32. __asm __saveds LONG SendArexxCommandA(register __a1 UBYTE                        *command,
  33.                                                                             register __a0 struct TagItem    *taglist);
  34. __asm __saveds void ReplyARexxMsgA(    register __a1 struct ARexxContext *context,
  35.                                                                         register __a0 struct TagItem            *taglist);
  36.  
  37.  
  38. /*** PROTOTYPES FOR TAGCALLS *********************************************************/
  39. struct ARexxContext *AllocARexxContext(Tag tag1, ...);
  40. LONG SendARexxCommand(UBYTE *command, Tag tag1, ...);
  41. void ReplyARexxMsg(struct ARexxContext *context, Tag tag1, ...);
  42.  
  43.  
  44. /*** PROTOTYPES FOR LINKLIBRARY ******************************************************/
  45. LONG HandleARexxFuncs(struct ARexxContext *context);
  46.                                                                                 
  47. #endif
  48.