@jsonjoy.com/json-pack 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/nfs/v3/FullNfsv3Encoder.d.ts +28 -0
  2. package/lib/nfs/v3/FullNfsv3Encoder.js +73 -0
  3. package/lib/nfs/v3/FullNfsv3Encoder.js.map +1 -0
  4. package/lib/nfs/v3/Nfsv3Decoder.d.ts +78 -0
  5. package/lib/nfs/v3/Nfsv3Decoder.js +757 -0
  6. package/lib/nfs/v3/Nfsv3Decoder.js.map +1 -0
  7. package/lib/nfs/v3/Nfsv3Encoder.d.ts +80 -0
  8. package/lib/nfs/v3/Nfsv3Encoder.js +669 -0
  9. package/lib/nfs/v3/Nfsv3Encoder.js.map +1 -0
  10. package/lib/nfs/v3/constants.d.ts +115 -0
  11. package/lib/nfs/v3/constants.js +3 -0
  12. package/lib/nfs/v3/constants.js.map +1 -0
  13. package/lib/nfs/v3/errors.d.ts +6 -0
  14. package/lib/nfs/v3/errors.js +16 -0
  15. package/lib/nfs/v3/errors.js.map +1 -0
  16. package/lib/nfs/v3/index.d.ts +6 -0
  17. package/lib/nfs/v3/index.js +10 -0
  18. package/lib/nfs/v3/index.js.map +1 -0
  19. package/lib/nfs/v3/locks/NlmDecoder.d.ts +33 -0
  20. package/lib/nfs/v3/locks/NlmDecoder.js +209 -0
  21. package/lib/nfs/v3/locks/NlmDecoder.js.map +1 -0
  22. package/lib/nfs/v3/locks/NlmEncoder.d.ts +35 -0
  23. package/lib/nfs/v3/locks/NlmEncoder.js +182 -0
  24. package/lib/nfs/v3/locks/NlmEncoder.js.map +1 -0
  25. package/lib/nfs/v3/locks/constants.d.ts +39 -0
  26. package/lib/nfs/v3/locks/constants.js +3 -0
  27. package/lib/nfs/v3/locks/constants.js.map +1 -0
  28. package/lib/nfs/v3/locks/messages.d.ts +96 -0
  29. package/lib/nfs/v3/locks/messages.js +130 -0
  30. package/lib/nfs/v3/locks/messages.js.map +1 -0
  31. package/lib/nfs/v3/locks/structs.d.ts +31 -0
  32. package/lib/nfs/v3/locks/structs.js +42 -0
  33. package/lib/nfs/v3/locks/structs.js.map +1 -0
  34. package/lib/nfs/v3/messages.d.ts +460 -0
  35. package/lib/nfs/v3/messages.js +619 -0
  36. package/lib/nfs/v3/messages.js.map +1 -0
  37. package/lib/nfs/v3/mount/MountDecoder.d.ts +21 -0
  38. package/lib/nfs/v3/mount/MountDecoder.js +135 -0
  39. package/lib/nfs/v3/mount/MountDecoder.js.map +1 -0
  40. package/lib/nfs/v3/mount/MountEncoder.d.ts +23 -0
  41. package/lib/nfs/v3/mount/MountEncoder.js +125 -0
  42. package/lib/nfs/v3/mount/MountEncoder.js.map +1 -0
  43. package/lib/nfs/v3/mount/constants.d.ts +27 -0
  44. package/lib/nfs/v3/mount/constants.js +3 -0
  45. package/lib/nfs/v3/mount/constants.js.map +1 -0
  46. package/lib/nfs/v3/mount/messages.d.ts +37 -0
  47. package/lib/nfs/v3/mount/messages.js +51 -0
  48. package/lib/nfs/v3/mount/messages.js.map +1 -0
  49. package/lib/nfs/v3/mount/structs.d.ts +22 -0
  50. package/lib/nfs/v3/mount/structs.js +33 -0
  51. package/lib/nfs/v3/mount/structs.js.map +1 -0
  52. package/lib/nfs/v3/structs.d.ts +156 -0
  53. package/lib/nfs/v3/structs.js +210 -0
  54. package/lib/nfs/v3/structs.js.map +1 -0
  55. package/lib/rpc/errors.js +4 -4
  56. package/lib/rpc/errors.js.map +1 -1
  57. package/package.json +1 -1
@@ -0,0 +1,460 @@
1
+ import type { Reader } from '@jsonjoy.com/buffers/lib/Reader';
2
+ import type { Nfsv3Stat } from './constants';
3
+ import type * as stucts from './structs';
4
+ export type Nfsv3Message = Nfsv3Request | Nfsv3Response;
5
+ export type Nfsv3Request = Nfsv3GetattrRequest | Nfsv3SetattrRequest | Nfsv3LookupRequest | Nfsv3AccessRequest | Nfsv3ReadlinkRequest | Nfsv3ReadRequest | Nfsv3WriteRequest | Nfsv3CreateRequest | Nfsv3MkdirRequest | Nfsv3SymlinkRequest | Nfsv3MknodRequest | Nfsv3RemoveRequest | Nfsv3RmdirRequest | Nfsv3RenameRequest | Nfsv3LinkRequest | Nfsv3ReaddirRequest | Nfsv3ReaddirplusRequest | Nfsv3FsstatRequest | Nfsv3FsinfoRequest | Nfsv3PathconfRequest | Nfsv3CommitRequest;
6
+ export type Nfsv3Response = Nfsv3GetattrResponse | Nfsv3SetattrResponse | Nfsv3LookupResponse | Nfsv3AccessResponse | Nfsv3ReadlinkResponse | Nfsv3ReadResponse | Nfsv3WriteResponse | Nfsv3CreateResponse | Nfsv3MkdirResponse | Nfsv3SymlinkResponse | Nfsv3MknodResponse | Nfsv3RemoveResponse | Nfsv3RmdirResponse | Nfsv3RenameResponse | Nfsv3LinkResponse | Nfsv3ReaddirResponse | Nfsv3ReaddirplusResponse | Nfsv3FsstatResponse | Nfsv3FsinfoResponse | Nfsv3PathconfResponse | Nfsv3CommitResponse;
7
+ export declare class Nfsv3GetattrRequest {
8
+ readonly object: stucts.Nfsv3Fh;
9
+ constructor(object: stucts.Nfsv3Fh);
10
+ }
11
+ export declare class Nfsv3GetattrResOk {
12
+ readonly objAttributes: stucts.Nfsv3Fattr;
13
+ constructor(objAttributes: stucts.Nfsv3Fattr);
14
+ }
15
+ export declare class Nfsv3GetattrResponse {
16
+ readonly status: Nfsv3Stat;
17
+ readonly resok?: Nfsv3GetattrResOk | undefined;
18
+ constructor(status: Nfsv3Stat, resok?: Nfsv3GetattrResOk | undefined);
19
+ }
20
+ export declare class Nfsv3SetattrRequest {
21
+ readonly object: stucts.Nfsv3Fh;
22
+ readonly newAttributes: stucts.Nfsv3Sattr;
23
+ readonly guard: stucts.Nfsv3SattrGuard;
24
+ constructor(object: stucts.Nfsv3Fh, newAttributes: stucts.Nfsv3Sattr, guard: stucts.Nfsv3SattrGuard);
25
+ }
26
+ export declare class Nfsv3SetattrResOk {
27
+ readonly objWcc: stucts.Nfsv3WccData;
28
+ constructor(objWcc: stucts.Nfsv3WccData);
29
+ }
30
+ export declare class Nfsv3SetattrResFail {
31
+ readonly objWcc: stucts.Nfsv3WccData;
32
+ constructor(objWcc: stucts.Nfsv3WccData);
33
+ }
34
+ export declare class Nfsv3SetattrResponse {
35
+ readonly status: Nfsv3Stat;
36
+ readonly resok?: Nfsv3SetattrResOk | undefined;
37
+ readonly resfail?: Nfsv3SetattrResFail | undefined;
38
+ constructor(status: Nfsv3Stat, resok?: Nfsv3SetattrResOk | undefined, resfail?: Nfsv3SetattrResFail | undefined);
39
+ }
40
+ export declare class Nfsv3LookupRequest {
41
+ readonly what: stucts.Nfsv3DirOpArgs;
42
+ constructor(what: stucts.Nfsv3DirOpArgs);
43
+ }
44
+ export declare class Nfsv3LookupResOk {
45
+ readonly object: stucts.Nfsv3Fh;
46
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
47
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
48
+ constructor(object: stucts.Nfsv3Fh, objAttributes: stucts.Nfsv3PostOpAttr, dirAttributes: stucts.Nfsv3PostOpAttr);
49
+ }
50
+ export declare class Nfsv3LookupResFail {
51
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
52
+ constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
53
+ }
54
+ export declare class Nfsv3LookupResponse {
55
+ readonly status: Nfsv3Stat;
56
+ readonly resok?: Nfsv3LookupResOk | undefined;
57
+ readonly resfail?: Nfsv3LookupResFail | undefined;
58
+ constructor(status: Nfsv3Stat, resok?: Nfsv3LookupResOk | undefined, resfail?: Nfsv3LookupResFail | undefined);
59
+ }
60
+ export declare class Nfsv3AccessRequest {
61
+ readonly object: stucts.Nfsv3Fh;
62
+ readonly access: number;
63
+ constructor(object: stucts.Nfsv3Fh, access: number);
64
+ }
65
+ export declare class Nfsv3AccessResOk {
66
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
67
+ readonly access: number;
68
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr, access: number);
69
+ }
70
+ export declare class Nfsv3AccessResFail {
71
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
72
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr);
73
+ }
74
+ export declare class Nfsv3AccessResponse {
75
+ readonly status: Nfsv3Stat;
76
+ readonly resok?: Nfsv3AccessResOk | undefined;
77
+ readonly resfail?: Nfsv3AccessResFail | undefined;
78
+ constructor(status: Nfsv3Stat, resok?: Nfsv3AccessResOk | undefined, resfail?: Nfsv3AccessResFail | undefined);
79
+ }
80
+ export declare class Nfsv3ReadlinkRequest {
81
+ readonly symlink: stucts.Nfsv3Fh;
82
+ constructor(symlink: stucts.Nfsv3Fh);
83
+ }
84
+ export declare class Nfsv3ReadlinkResOk {
85
+ readonly symlinkAttributes: stucts.Nfsv3PostOpAttr;
86
+ readonly data: string;
87
+ constructor(symlinkAttributes: stucts.Nfsv3PostOpAttr, data: string);
88
+ }
89
+ export declare class Nfsv3ReadlinkResFail {
90
+ readonly symlinkAttributes: stucts.Nfsv3PostOpAttr;
91
+ constructor(symlinkAttributes: stucts.Nfsv3PostOpAttr);
92
+ }
93
+ export declare class Nfsv3ReadlinkResponse {
94
+ readonly status: Nfsv3Stat;
95
+ readonly resok?: Nfsv3ReadlinkResOk | undefined;
96
+ readonly resfail?: Nfsv3ReadlinkResFail | undefined;
97
+ constructor(status: Nfsv3Stat, resok?: Nfsv3ReadlinkResOk | undefined, resfail?: Nfsv3ReadlinkResFail | undefined);
98
+ }
99
+ export declare class Nfsv3ReadRequest {
100
+ readonly file: stucts.Nfsv3Fh;
101
+ readonly offset: bigint;
102
+ readonly count: number;
103
+ constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number);
104
+ }
105
+ export declare class Nfsv3ReadResOk {
106
+ readonly fileAttributes: stucts.Nfsv3PostOpAttr;
107
+ readonly count: number;
108
+ readonly eof: boolean;
109
+ readonly data: Reader;
110
+ constructor(fileAttributes: stucts.Nfsv3PostOpAttr, count: number, eof: boolean, data: Reader);
111
+ }
112
+ export declare class Nfsv3ReadResFail {
113
+ readonly fileAttributes: stucts.Nfsv3PostOpAttr;
114
+ constructor(fileAttributes: stucts.Nfsv3PostOpAttr);
115
+ }
116
+ export declare class Nfsv3ReadResponse {
117
+ readonly status: Nfsv3Stat;
118
+ readonly resok?: Nfsv3ReadResOk | undefined;
119
+ readonly resfail?: Nfsv3ReadResFail | undefined;
120
+ constructor(status: Nfsv3Stat, resok?: Nfsv3ReadResOk | undefined, resfail?: Nfsv3ReadResFail | undefined);
121
+ }
122
+ export declare class Nfsv3WriteRequest {
123
+ readonly file: stucts.Nfsv3Fh;
124
+ readonly offset: bigint;
125
+ readonly count: number;
126
+ readonly stable: number;
127
+ readonly data: Reader;
128
+ constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number, stable: number, data: Reader);
129
+ }
130
+ export declare class Nfsv3WriteResOk {
131
+ readonly fileWcc: stucts.Nfsv3WccData;
132
+ readonly count: number;
133
+ readonly committed: number;
134
+ readonly verf: Reader;
135
+ constructor(fileWcc: stucts.Nfsv3WccData, count: number, committed: number, verf: Reader);
136
+ }
137
+ export declare class Nfsv3WriteResFail {
138
+ readonly fileWcc: stucts.Nfsv3WccData;
139
+ constructor(fileWcc: stucts.Nfsv3WccData);
140
+ }
141
+ export declare class Nfsv3WriteResponse {
142
+ readonly status: Nfsv3Stat;
143
+ readonly resok?: Nfsv3WriteResOk | undefined;
144
+ readonly resfail?: Nfsv3WriteResFail | undefined;
145
+ constructor(status: Nfsv3Stat, resok?: Nfsv3WriteResOk | undefined, resfail?: Nfsv3WriteResFail | undefined);
146
+ }
147
+ export declare class Nfsv3CreateRequest {
148
+ readonly where: stucts.Nfsv3DirOpArgs;
149
+ readonly how: stucts.Nfsv3CreateHow;
150
+ constructor(where: stucts.Nfsv3DirOpArgs, how: stucts.Nfsv3CreateHow);
151
+ }
152
+ export declare class Nfsv3CreateResOk {
153
+ readonly obj: stucts.Nfsv3PostOpFh;
154
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
155
+ readonly dirWcc: stucts.Nfsv3WccData;
156
+ constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
157
+ }
158
+ export declare class Nfsv3CreateResFail {
159
+ readonly dirWcc: stucts.Nfsv3WccData;
160
+ constructor(dirWcc: stucts.Nfsv3WccData);
161
+ }
162
+ export declare class Nfsv3CreateResponse {
163
+ readonly status: Nfsv3Stat;
164
+ readonly resok?: Nfsv3CreateResOk | undefined;
165
+ readonly resfail?: Nfsv3CreateResFail | undefined;
166
+ constructor(status: Nfsv3Stat, resok?: Nfsv3CreateResOk | undefined, resfail?: Nfsv3CreateResFail | undefined);
167
+ }
168
+ export declare class Nfsv3MkdirRequest {
169
+ readonly where: stucts.Nfsv3DirOpArgs;
170
+ readonly attributes: stucts.Nfsv3Sattr;
171
+ constructor(where: stucts.Nfsv3DirOpArgs, attributes: stucts.Nfsv3Sattr);
172
+ }
173
+ export declare class Nfsv3MkdirResOk {
174
+ readonly obj: stucts.Nfsv3PostOpFh;
175
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
176
+ readonly dirWcc: stucts.Nfsv3WccData;
177
+ constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
178
+ }
179
+ export declare class Nfsv3MkdirResFail {
180
+ readonly dirWcc: stucts.Nfsv3WccData;
181
+ constructor(dirWcc: stucts.Nfsv3WccData);
182
+ }
183
+ export declare class Nfsv3MkdirResponse {
184
+ readonly status: Nfsv3Stat;
185
+ readonly resok?: Nfsv3MkdirResOk | undefined;
186
+ readonly resfail?: Nfsv3MkdirResFail | undefined;
187
+ constructor(status: Nfsv3Stat, resok?: Nfsv3MkdirResOk | undefined, resfail?: Nfsv3MkdirResFail | undefined);
188
+ }
189
+ export declare class Nfsv3SymlinkRequest {
190
+ readonly where: stucts.Nfsv3DirOpArgs;
191
+ readonly symlinkAttributes: stucts.Nfsv3Sattr;
192
+ readonly symlinkData: string;
193
+ constructor(where: stucts.Nfsv3DirOpArgs, symlinkAttributes: stucts.Nfsv3Sattr, symlinkData: string);
194
+ }
195
+ export declare class Nfsv3SymlinkResOk {
196
+ readonly obj: stucts.Nfsv3PostOpFh;
197
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
198
+ readonly dirWcc: stucts.Nfsv3WccData;
199
+ constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
200
+ }
201
+ export declare class Nfsv3SymlinkResFail {
202
+ readonly dirWcc: stucts.Nfsv3WccData;
203
+ constructor(dirWcc: stucts.Nfsv3WccData);
204
+ }
205
+ export declare class Nfsv3SymlinkResponse {
206
+ readonly status: Nfsv3Stat;
207
+ readonly resok?: Nfsv3SymlinkResOk | undefined;
208
+ readonly resfail?: Nfsv3SymlinkResFail | undefined;
209
+ constructor(status: Nfsv3Stat, resok?: Nfsv3SymlinkResOk | undefined, resfail?: Nfsv3SymlinkResFail | undefined);
210
+ }
211
+ export declare class Nfsv3MknodRequest {
212
+ readonly where: stucts.Nfsv3DirOpArgs;
213
+ readonly what: stucts.Nfsv3MknodData;
214
+ constructor(where: stucts.Nfsv3DirOpArgs, what: stucts.Nfsv3MknodData);
215
+ }
216
+ export declare class Nfsv3MknodResOk {
217
+ readonly obj: stucts.Nfsv3PostOpFh;
218
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
219
+ readonly dirWcc: stucts.Nfsv3WccData;
220
+ constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
221
+ }
222
+ export declare class Nfsv3MknodResFail {
223
+ readonly dirWcc: stucts.Nfsv3WccData;
224
+ constructor(dirWcc: stucts.Nfsv3WccData);
225
+ }
226
+ export declare class Nfsv3MknodResponse {
227
+ readonly status: Nfsv3Stat;
228
+ readonly resok?: Nfsv3MknodResOk | undefined;
229
+ readonly resfail?: Nfsv3MknodResFail | undefined;
230
+ constructor(status: Nfsv3Stat, resok?: Nfsv3MknodResOk | undefined, resfail?: Nfsv3MknodResFail | undefined);
231
+ }
232
+ export declare class Nfsv3RemoveRequest {
233
+ readonly object: stucts.Nfsv3DirOpArgs;
234
+ constructor(object: stucts.Nfsv3DirOpArgs);
235
+ }
236
+ export declare class Nfsv3RemoveResOk {
237
+ readonly dirWcc: stucts.Nfsv3WccData;
238
+ constructor(dirWcc: stucts.Nfsv3WccData);
239
+ }
240
+ export declare class Nfsv3RemoveResFail {
241
+ readonly dirWcc: stucts.Nfsv3WccData;
242
+ constructor(dirWcc: stucts.Nfsv3WccData);
243
+ }
244
+ export declare class Nfsv3RemoveResponse {
245
+ readonly status: Nfsv3Stat;
246
+ readonly resok?: Nfsv3RemoveResOk | undefined;
247
+ readonly resfail?: Nfsv3RemoveResFail | undefined;
248
+ constructor(status: Nfsv3Stat, resok?: Nfsv3RemoveResOk | undefined, resfail?: Nfsv3RemoveResFail | undefined);
249
+ }
250
+ export declare class Nfsv3RmdirRequest {
251
+ readonly object: stucts.Nfsv3DirOpArgs;
252
+ constructor(object: stucts.Nfsv3DirOpArgs);
253
+ }
254
+ export declare class Nfsv3RmdirResOk {
255
+ readonly dirWcc: stucts.Nfsv3WccData;
256
+ constructor(dirWcc: stucts.Nfsv3WccData);
257
+ }
258
+ export declare class Nfsv3RmdirResFail {
259
+ readonly dirWcc: stucts.Nfsv3WccData;
260
+ constructor(dirWcc: stucts.Nfsv3WccData);
261
+ }
262
+ export declare class Nfsv3RmdirResponse {
263
+ readonly status: Nfsv3Stat;
264
+ readonly resok?: Nfsv3RmdirResOk | undefined;
265
+ readonly resfail?: Nfsv3RmdirResFail | undefined;
266
+ constructor(status: Nfsv3Stat, resok?: Nfsv3RmdirResOk | undefined, resfail?: Nfsv3RmdirResFail | undefined);
267
+ }
268
+ export declare class Nfsv3RenameRequest {
269
+ readonly from: stucts.Nfsv3DirOpArgs;
270
+ readonly to: stucts.Nfsv3DirOpArgs;
271
+ constructor(from: stucts.Nfsv3DirOpArgs, to: stucts.Nfsv3DirOpArgs);
272
+ }
273
+ export declare class Nfsv3RenameResOk {
274
+ readonly fromDirWcc: stucts.Nfsv3WccData;
275
+ readonly toDirWcc: stucts.Nfsv3WccData;
276
+ constructor(fromDirWcc: stucts.Nfsv3WccData, toDirWcc: stucts.Nfsv3WccData);
277
+ }
278
+ export declare class Nfsv3RenameResFail {
279
+ readonly fromDirWcc: stucts.Nfsv3WccData;
280
+ readonly toDirWcc: stucts.Nfsv3WccData;
281
+ constructor(fromDirWcc: stucts.Nfsv3WccData, toDirWcc: stucts.Nfsv3WccData);
282
+ }
283
+ export declare class Nfsv3RenameResponse {
284
+ readonly status: Nfsv3Stat;
285
+ readonly resok?: Nfsv3RenameResOk | undefined;
286
+ readonly resfail?: Nfsv3RenameResFail | undefined;
287
+ constructor(status: Nfsv3Stat, resok?: Nfsv3RenameResOk | undefined, resfail?: Nfsv3RenameResFail | undefined);
288
+ }
289
+ export declare class Nfsv3LinkRequest {
290
+ readonly file: stucts.Nfsv3Fh;
291
+ readonly link: stucts.Nfsv3DirOpArgs;
292
+ constructor(file: stucts.Nfsv3Fh, link: stucts.Nfsv3DirOpArgs);
293
+ }
294
+ export declare class Nfsv3LinkResOk {
295
+ readonly fileAttributes: stucts.Nfsv3PostOpAttr;
296
+ readonly linkDirWcc: stucts.Nfsv3WccData;
297
+ constructor(fileAttributes: stucts.Nfsv3PostOpAttr, linkDirWcc: stucts.Nfsv3WccData);
298
+ }
299
+ export declare class Nfsv3LinkResFail {
300
+ readonly fileAttributes: stucts.Nfsv3PostOpAttr;
301
+ readonly linkDirWcc: stucts.Nfsv3WccData;
302
+ constructor(fileAttributes: stucts.Nfsv3PostOpAttr, linkDirWcc: stucts.Nfsv3WccData);
303
+ }
304
+ export declare class Nfsv3LinkResponse {
305
+ readonly status: Nfsv3Stat;
306
+ readonly resok?: Nfsv3LinkResOk | undefined;
307
+ readonly resfail?: Nfsv3LinkResFail | undefined;
308
+ constructor(status: Nfsv3Stat, resok?: Nfsv3LinkResOk | undefined, resfail?: Nfsv3LinkResFail | undefined);
309
+ }
310
+ export declare class Nfsv3ReaddirRequest {
311
+ readonly dir: stucts.Nfsv3Fh;
312
+ readonly cookie: bigint;
313
+ readonly cookieverf: Reader;
314
+ readonly count: number;
315
+ constructor(dir: stucts.Nfsv3Fh, cookie: bigint, cookieverf: Reader, count: number);
316
+ }
317
+ export declare class Nfsv3ReaddirResOk {
318
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
319
+ readonly cookieverf: Reader;
320
+ readonly reply: stucts.Nfsv3DirList;
321
+ constructor(dirAttributes: stucts.Nfsv3PostOpAttr, cookieverf: Reader, reply: stucts.Nfsv3DirList);
322
+ }
323
+ export declare class Nfsv3ReaddirResFail {
324
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
325
+ constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
326
+ }
327
+ export declare class Nfsv3ReaddirResponse {
328
+ readonly status: Nfsv3Stat;
329
+ readonly resok?: Nfsv3ReaddirResOk | undefined;
330
+ readonly resfail?: Nfsv3ReaddirResFail | undefined;
331
+ constructor(status: Nfsv3Stat, resok?: Nfsv3ReaddirResOk | undefined, resfail?: Nfsv3ReaddirResFail | undefined);
332
+ }
333
+ export declare class Nfsv3ReaddirplusRequest {
334
+ readonly dir: stucts.Nfsv3Fh;
335
+ readonly cookie: bigint;
336
+ readonly cookieverf: Reader;
337
+ readonly dircount: number;
338
+ readonly maxcount: number;
339
+ constructor(dir: stucts.Nfsv3Fh, cookie: bigint, cookieverf: Reader, dircount: number, maxcount: number);
340
+ }
341
+ export declare class Nfsv3ReaddirplusResOk {
342
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
343
+ readonly cookieverf: Reader;
344
+ readonly reply: stucts.Nfsv3DirListPlus;
345
+ constructor(dirAttributes: stucts.Nfsv3PostOpAttr, cookieverf: Reader, reply: stucts.Nfsv3DirListPlus);
346
+ }
347
+ export declare class Nfsv3ReaddirplusResFail {
348
+ readonly dirAttributes: stucts.Nfsv3PostOpAttr;
349
+ constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
350
+ }
351
+ export declare class Nfsv3ReaddirplusResponse {
352
+ readonly status: Nfsv3Stat;
353
+ readonly resok?: Nfsv3ReaddirplusResOk | undefined;
354
+ readonly resfail?: Nfsv3ReaddirplusResFail | undefined;
355
+ constructor(status: Nfsv3Stat, resok?: Nfsv3ReaddirplusResOk | undefined, resfail?: Nfsv3ReaddirplusResFail | undefined);
356
+ }
357
+ export declare class Nfsv3FsstatRequest {
358
+ readonly fsroot: stucts.Nfsv3Fh;
359
+ constructor(fsroot: stucts.Nfsv3Fh);
360
+ }
361
+ export declare class Nfsv3FsstatResOk {
362
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
363
+ readonly tbytes: bigint;
364
+ readonly fbytes: bigint;
365
+ readonly abytes: bigint;
366
+ readonly tfiles: bigint;
367
+ readonly ffiles: bigint;
368
+ readonly afiles: bigint;
369
+ readonly invarsec: number;
370
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr, tbytes: bigint, fbytes: bigint, abytes: bigint, tfiles: bigint, ffiles: bigint, afiles: bigint, invarsec: number);
371
+ }
372
+ export declare class Nfsv3FsstatResFail {
373
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
374
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr);
375
+ }
376
+ export declare class Nfsv3FsstatResponse {
377
+ readonly status: Nfsv3Stat;
378
+ readonly resok?: Nfsv3FsstatResOk | undefined;
379
+ readonly resfail?: Nfsv3FsstatResFail | undefined;
380
+ constructor(status: Nfsv3Stat, resok?: Nfsv3FsstatResOk | undefined, resfail?: Nfsv3FsstatResFail | undefined);
381
+ }
382
+ export declare class Nfsv3FsinfoRequest {
383
+ readonly fsroot: stucts.Nfsv3Fh;
384
+ constructor(fsroot: stucts.Nfsv3Fh);
385
+ }
386
+ export declare class Nfsv3FsinfoResOk {
387
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
388
+ readonly rtmax: number;
389
+ readonly rtpref: number;
390
+ readonly rtmult: number;
391
+ readonly wtmax: number;
392
+ readonly wtpref: number;
393
+ readonly wtmult: number;
394
+ readonly dtpref: number;
395
+ readonly maxfilesize: bigint;
396
+ readonly timeDelta: {
397
+ seconds: number;
398
+ nseconds: number;
399
+ };
400
+ readonly properties: number;
401
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr, rtmax: number, rtpref: number, rtmult: number, wtmax: number, wtpref: number, wtmult: number, dtpref: number, maxfilesize: bigint, timeDelta: {
402
+ seconds: number;
403
+ nseconds: number;
404
+ }, properties: number);
405
+ }
406
+ export declare class Nfsv3FsinfoResFail {
407
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
408
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr);
409
+ }
410
+ export declare class Nfsv3FsinfoResponse {
411
+ readonly status: Nfsv3Stat;
412
+ readonly resok?: Nfsv3FsinfoResOk | undefined;
413
+ readonly resfail?: Nfsv3FsinfoResFail | undefined;
414
+ constructor(status: Nfsv3Stat, resok?: Nfsv3FsinfoResOk | undefined, resfail?: Nfsv3FsinfoResFail | undefined);
415
+ }
416
+ export declare class Nfsv3PathconfRequest {
417
+ readonly object: stucts.Nfsv3Fh;
418
+ constructor(object: stucts.Nfsv3Fh);
419
+ }
420
+ export declare class Nfsv3PathconfResOk {
421
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
422
+ readonly linkmax: number;
423
+ readonly namemax: number;
424
+ readonly noTrunc: boolean;
425
+ readonly chownRestricted: boolean;
426
+ readonly caseInsensitive: boolean;
427
+ readonly casePreserving: boolean;
428
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr, linkmax: number, namemax: number, noTrunc: boolean, chownRestricted: boolean, caseInsensitive: boolean, casePreserving: boolean);
429
+ }
430
+ export declare class Nfsv3PathconfResFail {
431
+ readonly objAttributes: stucts.Nfsv3PostOpAttr;
432
+ constructor(objAttributes: stucts.Nfsv3PostOpAttr);
433
+ }
434
+ export declare class Nfsv3PathconfResponse {
435
+ readonly status: Nfsv3Stat;
436
+ readonly resok?: Nfsv3PathconfResOk | undefined;
437
+ readonly resfail?: Nfsv3PathconfResFail | undefined;
438
+ constructor(status: Nfsv3Stat, resok?: Nfsv3PathconfResOk | undefined, resfail?: Nfsv3PathconfResFail | undefined);
439
+ }
440
+ export declare class Nfsv3CommitRequest {
441
+ readonly file: stucts.Nfsv3Fh;
442
+ readonly offset: bigint;
443
+ readonly count: number;
444
+ constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number);
445
+ }
446
+ export declare class Nfsv3CommitResOk {
447
+ readonly fileWcc: stucts.Nfsv3WccData;
448
+ readonly verf: Reader;
449
+ constructor(fileWcc: stucts.Nfsv3WccData, verf: Reader);
450
+ }
451
+ export declare class Nfsv3CommitResFail {
452
+ readonly fileWcc: stucts.Nfsv3WccData;
453
+ constructor(fileWcc: stucts.Nfsv3WccData);
454
+ }
455
+ export declare class Nfsv3CommitResponse {
456
+ readonly status: Nfsv3Stat;
457
+ readonly resok?: Nfsv3CommitResOk | undefined;
458
+ readonly resfail?: Nfsv3CommitResFail | undefined;
459
+ constructor(status: Nfsv3Stat, resok?: Nfsv3CommitResOk | undefined, resfail?: Nfsv3CommitResFail | undefined);
460
+ }