home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip21.zip / acorn / swiven.h < prev    next >
C/C++ Source or Header  |  1996-04-18  |  2KB  |  59 lines

  1. /*
  2.  
  3.  Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly,
  4.  Kai Uwe Rommel, Onno van der Linden, Sergio Monesi, Karl Davis and
  5.  Igor Mandrichenko.
  6.  Permission is granted to any individual or institution to use, copy, or
  7.  redistribute this software so long as all of the original files are included,
  8.  that it is not sold for profit, and that this copyright notice is retained.
  9.  
  10. */
  11.  
  12. /* swiven.h */
  13.  
  14. #ifndef __swiven_h
  15. #define __swiven_h
  16.  
  17. os_error *SWI_OS_FSControl_26(char *source, char *dest, int actionmask);
  18. /* copy */
  19.  
  20. os_error *SWI_OS_FSControl_27(char *filename, int actionmask);
  21. /* wipe */
  22.  
  23. os_error *SWI_OS_GBPB_9(char *dirname, void *buf, int *number,
  24.                         int *offset, int size, char *match);
  25. /* read dir */
  26.  
  27. os_error *SWI_OS_File_1(char *filename, int loadaddr, int execaddr, int attrib);
  28. /* write file attributes */
  29.  
  30. os_error *SWI_OS_File_5(char *filename, int *objtype, int *loadaddr,
  31.                         int *execaddr, int *length, int *attrib);
  32. /* read file info */
  33.  
  34. os_error *SWI_OS_File_6(char *filename);
  35. /* delete */
  36.  
  37. os_error *SWI_OS_File_7(char *filename, int loadaddr, int execaddr, int size);
  38. /* create an empty file */
  39.  
  40. os_error *SWI_OS_CLI(char *cmd);
  41. /* execute a command */
  42.  
  43. int SWI_OS_ReadC(void);
  44. /* get a key from the keyboard buffer */
  45.  
  46. os_error *SWI_OS_ReadVarVal(char *var, char *buf, int len, int *bytesused);
  47. /* reads an OS varibale */
  48.  
  49. os_error *SWI_OS_FSControl_54(char *buffer, int dir, char *fsname, int *size);
  50. /* reads the path of a specified directory */
  51.  
  52. os_error *SWI_OS_FSControl_37(char *pathname, char *buffer, int *size);
  53. /* canonicalise path */
  54.  
  55. os_error *SWI_DDEUtils_Prefix(char *dir);
  56. /* sets the 'prefix' directory */
  57.  
  58. #endif
  59.