summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/MacEmul/Files.c
blob: 7216c6b46d3a020ce96fd320e7ec9cdf268f72be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#include "mwcc_decomp.h"

typedef struct MacFileInfo {
    UInt32 ioFlCrDat;
    UInt32 ioFlMdDat;
    SInt32 ioFlLgLen;
    SInt32 ioFlPyLen;
    SInt32 ioFlRLgLen;
    SInt32 ioFlRPyLen;
    SInt32 ioFlStBlk;
    SInt32 ioFlRStBlk;
    SInt32 ioFlAttrib;
} MacFileInfo;

static int OS_GetFileParamInfo(const OSSpec *spec, MacFileInfo *mfi, FInfo *fi) {

}

static int OS_SetFileParamInfo(const OSSpec *spec, MacFileInfo *mfi, FInfo *fi) {

}

OSErr HCreate(SInt16 volume, SInt32 dirid, ConstStr255Param fileName, OSType creator, OSType type) {

}

OSErr HOpen(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, SInt8 permission, SInt16 *refNum) {

}

OSErr HOpenDF(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, SInt8 permission, SInt16 *refNum) {

}

OSErr HDelete(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName) {

}

OSErr HRename(SInt16 vRefNum, SInt32 dirID, ConstStr255Param oldName, ConstStr255Param newName) {

}

OSErr HGetFInfo(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, FInfo *fndrInfo) {

}

OSErr HSetFInfo(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, const FInfo *fndrInfo) {

}

OSErr FSpCreate(const FSSpec *fss, OSType creator, OSType fileType, ScriptCode scriptTag) {

}

OSErr FSpDirCreate(const FSSpec *fss, ScriptCode scriptTag, SInt32 *createdDirID) {

}

OSErr FSpOpenDF(const FSSpec *fss, SInt8 permission, SInt16 *refNum) {

}

OSErr FSpDelete(const FSSpec *fss) {

}

OSErr FSpRename(const FSSpec *oldfss, ConstStr255Param newName) {

}

OSErr FSpGetFInfo(const FSSpec *fss, FInfo *fndrInfo) {

}

OSErr FSpSetFInfo(const FSSpec *fss, const FInfo *fndrInfo) {

}

OSErr HGetVol(StringPtr volName, SInt16 *vRefNum, SInt32 *dirID) {

}

OSErr HSetVol(ConstStr63Param volName, SInt16 vRefNum, SInt32 dirID) {

}

OSErr FlushVol(ConstStr63Param volName, SInt16 vRefNum) {

}

OSErr FSRead(SInt16 fRefNum, SInt32 *Size, void *Buffer) {

}

OSErr FSWrite(SInt16 fRefNum, SInt32 *Size, const void *Buffer) {

}

OSErr FSClose(SInt16 fRefNum) {

}

OSErr GetEOF(SInt16 fRefNum, SInt32 *curEOF) {

}

OSErr SetEOF(SInt16 fRefNum, SInt32 newEOF) {

}

OSErr GetFPos(SInt16 fRefNum, SInt32 *pos) {

}

OSErr SetFPos(SInt16 fRefNum, SInt16 posMode, SInt32 posOffset) {

}

OSErr GetVInfo(SInt16 vRefNum, StringPtr name, SInt16 *vRef, SInt32 *hDir) {

}

OSErr PBWriteSync(ParmBlkPtr paramBlock) {

}

OSErr PBHGetFInfoSync(HParmBlkPtr paramBlock) {

}

OSErr PBHSetFInfoSync(HParmBlkPtr paramBlock) {

}

OSErr PBGetCatInfoSync(CInfoPBPtr paramBlock) {

}

OSErr ResolveAliasFile(FSSpec *fss, Boolean resolveChains, Boolean *isFolder, Boolean *wasAliased) {

}

OSErr FSMakeFSSpec(SInt16 vRefNum, SInt32 dirID, ConstStr255Param pathName, FSSpec *fss) {

}

OSErr Allocate(SInt16 refNum, SInt32 *byteCount) {

}