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