home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / language / as / source / h / riscos < prev    next >
Encoding:
Text File  |  1994-01-02  |  761 b   |  40 lines

  1. /*
  2.  * riscos.h
  3.  * Copyright © 1992 Niklas Röjemo
  4.  */
  5.  
  6. #ifndef _riscos_h
  7. #define _riscos_h
  8.  
  9. #define ThrowbackInfo        -1
  10. #define ThrowbackWarning      0
  11. #define ThrowbackError        1
  12. #define ThrowbackSeriousError 2
  13.  
  14. #ifdef UNIX
  15. #define CanonicalisePath(x) (x)
  16. #define toriscos(f,a,b)     (f)
  17. #else
  18.  
  19. #include "os.h"
  20.  
  21. char *toriscos(char *name, char *oldsuffixes, char newsuffix);
  22.  
  23.  
  24.  
  25.  
  26. int OSCanonicalisePath(char *path,
  27.                        char *buffer, int bufferSize,
  28.                        char *systemVar, char *defaultPath);
  29.  
  30. char *CanonicalisePath(char *path);
  31.  
  32.  
  33. os_error *ThrowbackStart(void);
  34. os_error *ThrowbackSendStart(char *filename);
  35. os_error *ThrowbackSendError(int level,int lineno,char *error);
  36. os_error *ThrowbackEnd(void);
  37.  
  38. #endif
  39. #endif
  40.