home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / comal3-2.dms / in.adf / ModuleDev / Comal_protos.h next >
Encoding:
C/C++ Source or Header  |  1993-04-10  |  1.8 KB  |  43 lines

  1. /************************************************************************/
  2. /*                                                                      */
  3. /*             Protos and pragmas for Comal routines                    */
  4. /*                                                                      */
  5. /*                      version 93.02.09                                */
  6. /*                                                                      */
  7. /*                                                                      */
  8. /*                                                                      */
  9. /************************************************************************/
  10.  
  11. extern struct ComalStruc *ComalStruc;
  12.  
  13. /* Protos */
  14. void ErrorNumber(short ErrorCode);
  15. void ErrorText(char *ErrorText);
  16. void ExecBreak(void);
  17. struct Window *LockComalWindow(void);
  18. void UnlockComalWindow(void);
  19. void AddComalDevice(struct IoDevice *Device);
  20. void RemComalDevice(struct IoDevice *Device);
  21. unsigned long ComalWait(unsigned long SignalMask);
  22. void AddExcept(struct ExceptStruc *Except);
  23. void RemExcept(struct ExceptStruc *Except);
  24. void AddSignal(unsigned long SignalMask);
  25. void RemSignal(unsigned long SignalMask);
  26. short GetAccept(char *Str, char *Accept, char *Cancel);
  27.  
  28. /* Pragmas  */
  29.  
  30. #pragma libcall ComalStruc ErrorNumber 06 201
  31. #pragma libcall ComalStruc ErrorText 0C 001
  32. #pragma libcall ComalStruc ExecBreak  12 0
  33. #pragma libcall ComalStruc LockComalWindow 18 0
  34. #pragma libcall ComalStruc UnLockComalWindow  1E 0
  35. #pragma libcall ComalStruc AddComalDevice 24 801
  36. #pragma libcall ComalStruc RemComalDevice  2A 801
  37. #pragma libcall ComalStruc ComalWait 30 001
  38. #pragma libcall ComalStruc AddExcept  36 801
  39. #pragma libcall ComalStruc RemExcept 3C 801
  40. #pragma libcall ComalStruc AddSignal  42 001
  41. #pragma libcall ComalStruc RemSignal 48 001
  42. #pragma libcall ComalStruc GetAccept 4E A9803
  43.