Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 | 1x 4x 1x 8x 8x 1x 28x 28x 1x 1x 6x 1x 4x 1x 1x 1x 10x | import type {MountStat} from './constants';
import type * as stucts from './structs';
/**
* MOUNT protocol messages (Appendix I)
*/
export type MountMessage = MountRequest | MountResponse;
export type MountRequest =
| MountMntRequest
| MountUmntRequest
| MountDumpRequest
| MountUmntallRequest
| MountExportRequest;
export type MountResponse = MountMntResponse | MountDumpResponse | MountExportResponse;
/**
* MNT request
*/
export class MountMntRequest {
constructor(public readonly dirpath: string) {}
}
/**
* MNT response - success case
*/
export class MountMntResOk {
constructor(
public readonly fhandle: stucts.MountFhandle3,
public readonly authFlavors: number[],
) {}
}
/**
* MNT response
*/
export class MountMntResponse {
constructor(
public readonly status: MountStat,
public readonly mountinfo?: MountMntResOk,
) {}
}
/**
* DUMP request (void - no arguments)
*/
export class MountDumpRequest {}
/**
* DUMP response
*/
export class MountDumpResponse {
constructor(public readonly mountlist?: stucts.MountBody) {}
}
/**
* UMNT request
*/
export class MountUmntRequest {
constructor(public readonly dirpath: string) {}
}
/**
* UMNTALL request (void - no arguments)
*/
export class MountUmntallRequest {}
/**
* EXPORT request (void - no arguments)
*/
export class MountExportRequest {}
/**
* EXPORT response
*/
export class MountExportResponse {
constructor(public readonly exports?: stucts.MountExportNode) {}
}
|