home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip531.zip / acorn / swiven.h < prev    next >
C/C++ Source or Header  |  1997-03-22  |  1KB  |  54 lines

  1. /* swiven.h */
  2.  
  3. #ifndef __swiven_h
  4. #define __swiven_h
  5.  
  6. os_error *SWI_OS_FSControl_26(char *source, char *dest, int actionmask);
  7. /* copy */
  8.  
  9. os_error *SWI_OS_FSControl_27(char *filename, int actionmask);
  10. /* wipe */
  11.  
  12. os_error *SWI_OS_GBPB_9(char *dirname, void *buf, int *number,
  13.                         int *offset, int size, char *match);
  14. /* read dir */
  15.  
  16. os_error *SWI_OS_File_1(char *filename, int loadaddr, int execaddr, int attrib);
  17. /* write file attributes */
  18.  
  19. os_error *SWI_OS_File_5(char *filename, int *objtype, int *loadaddr,
  20.                         int *execaddr, int *length, int *attrib);
  21. /* read file info */
  22.  
  23. os_error *SWI_OS_File_6(char *filename);
  24. /* delete */
  25.  
  26. os_error *SWI_OS_File_7(char *filename, int loadaddr, int execaddr, int size);
  27. /* create an empty file */
  28.  
  29. os_error *SWI_OS_File_8(char *dirname);
  30. /* create a directory */
  31.  
  32. os_error *SWI_OS_CLI(char *cmd);
  33. /* execute a command */
  34.  
  35. int SWI_OS_ReadC(void);
  36. /* get a key from the keyboard buffer */
  37.  
  38. os_error *SWI_OS_ReadVarVal(char *var, char *buf, int len, int *bytesused);
  39. /* reads an OS varibale */
  40.  
  41. os_error *SWI_OS_FSControl_54(char *buffer, int dir, char *fsname, int *size);
  42. /* reads the path of a specified directory */
  43.  
  44. os_error *SWI_OS_FSControl_37(char *pathname, char *buffer, int *size);
  45. /* canonicalise path */
  46.  
  47. os_error *SWI_DDEUtils_Prefix(char *dir);
  48. /* sets the 'prefix' directory */
  49.  
  50. int SWI_Read_Timezone(void);
  51. /* returns the timezone offset (centiseconds) */
  52.  
  53. #endif
  54.