swiven.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 1999-Oct-05 or later
  4. (the contents of which are also included in zip.h) for terms of use.
  5. If, for some reason, both of these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
  7. */
  8. /* swiven.h */
  9. #ifndef __swiven_h
  10. #define __swiven_h
  11. os_error *SWI_OS_FSControl_26(char *source, char *dest, int actionmask);
  12. /* copy */
  13. os_error *SWI_OS_FSControl_27(char *filename, int actionmask);
  14. /* wipe */
  15. os_error *SWI_OS_GBPB_9(char *dirname, void *buf, int *number,
  16. int *offset, int size, char *match);
  17. /* read dir */
  18. os_error *SWI_OS_File_1(char *filename, unsigned int loadaddr,
  19. unsigned int execaddr, int attrib);
  20. /* write file attributes */
  21. os_error *SWI_OS_File_5(char *filename, int *objtype, unsigned int *loadaddr,
  22. unsigned int *execaddr, int *length, int *attrib);
  23. /* read file info */
  24. os_error *SWI_OS_File_6(char *filename);
  25. /* delete */
  26. os_error *SWI_OS_File_7(char *filename, int loadaddr, int execaddr, int size);
  27. /* create an empty file */
  28. os_error *SWI_OS_CLI(char *cmd);
  29. /* execute a command */
  30. int SWI_OS_ReadC(void);
  31. /* get a key from the keyboard buffer */
  32. os_error *SWI_OS_ReadVarVal(char *var, char *buf, int len, int *bytesused);
  33. /* reads an OS varibale */
  34. os_error *SWI_OS_FSControl_54(char *buffer, int dir, char *fsname, int *size);
  35. /* reads the path of a specified directory */
  36. os_error *SWI_OS_FSControl_37(char *pathname, char *buffer, int *size);
  37. /* canonicalise path */
  38. os_error *SWI_DDEUtils_Prefix(char *dir);
  39. /* sets the 'prefix' directory */
  40. int SWI_Read_Timezone(void);
  41. /* returns the timezone offset (centiseconds) */
  42. #endif /* !__swiven_h */