XNSRemoteFilePrivate.mesa
Copyright Ó 1990, 1992 by Xerox Corporation. All rights reserved.
Willie-s, December 16, 1992 5:19 pm PST
DIRECTORY
AuthenticationP14V2 USING [CallProblem, Problem],
CrRPC USING [ErrorReason, Handle],
FilingP10V5,
PFS USING [FileType, PATH, UniqueID],
PFSBackdoor USING [ErrorCode],
PFSClass USING [FSHandle],
PFSNames USING [Version],
XNSRemoteFileTypes;
XNSRemoteFilePrivate:
CEDAR
DEFINITIONS ~ {
GetCrRPCErrorMsg:
PROC[errorReason: CrRPC.ErrorReason, text:
ROPE]
RETURNS[msg:
ROPE];
GetAccessErrorMsg:
PROC[problem: FilingP10V5.AccessProblem]
RETURNS[msg:
ROPE];
GetAuthCallErrorMsg:
PROC[problem: AuthenticationP14V2.CallProblem]
RETURNS[msg:
ROPE];
GetAuthErrorMsg:
PROC[problem: AuthenticationP14V2.Problem]
RETURNS[msg:
ROPE];
GetServiceErrorMsg:
PROC[problem: FilingP10V5.ServiceProblem]
RETURNS[msg:
ROPE];
GetSessionErrorMsg:
PROC[problem: FilingP10V5.SessionProblem]
RETURNS[msg:
ROPE];
InfoFromOpenFile:
PROC [data: ServerData, crH: CrRPC.Handle, fileH: FilingP10V5.Handle, op: Op]
RETURNS [version: PFSNames.Version, bytes: INT, created: GMT, fileType: PFS.FileType,
pathName: REF TEXT, fID: FileID, isDir: BOOL, withKids: BOOL];
GetConnection:
PROC [data: ServerData, h: PFSClass.FSHandle]
RETURNS [crH: CrRPC.Handle];
ReturnConnection:
PROC [crH: CrRPC.Handle];
Revive:
PROC [data: ServerData, crH: CrRPC.Handle ¬
NIL]
RETURNS [ok:
BOOL ¬
FALSE];
ConvertFSNameToXNS:
PROC [file:
ROPE, op: Op]
RETURNS [
ROPE];
ConvertPathToFile:
PROC [path:
REF
TEXT, isDir:
BOOL ¬
FALSE]
RETURNS [file:
ROPE];
ParsePFSPath:
PROC [pathName:
PFS.
PATH]
RETURNS [dir:
LIST
OF
ROPE, name:
ROPE, vers: PFSNames.Version];
GetCedarAttributes:
PROC [op: Op]
RETURNS [attributes: AttributeTypeSequence];
CallProtected:
PROC[proc:
PROC, h: PFSClass.FSHandle, filePath:
PFS.
PATH, uid:
PFS.UniqueID];
ReportXNSError:
PROC [code: PFSBackdoor.ErrorCode, h: PFSClass.FSHandle,
filePath:
PFS.
PATH, time:
GMT];
UnknownFile:
PROC[name:
ROPE, createdTime:
GMT];
BuildScopeFilter:
PROC [filterType: FilingP10V5.FilterType, rope:
ROPE, type:
CARD32]
RETURNS [scope: ScopeSequence];
BuildScopeDepthAndFilter:
PROC [depth:
CARD32, filterType: FilingP10V5.FilterType,
rope:
ROPE, type:
CARD32]
RETURNS [scope: ScopeSequence];
BuildScopeDepth:
PROC [depth:
CARD32]
RETURNS [scope: ScopeSequence];
BuildAttribute:
PROC [name:
ROPE, type:
CARD32, time:
GMT ¬ nullGMT,
timeType:
CARD32 ¬ 0]
RETURNS [attributes: AttributeSequence];
BuildDirectoryAttribute:
PROC [nameR:
ROPE]
RETURNS [attributes: AttributeSequence];
BuildStoreAttributes:
PROC [file:
ROPE, vers:
CARD32, created:
GMT]
RETURNS [attributes: AttributeSequence];
InfoFromAttributeStream:
PROC[in:
STREAM]
RETURNS [vers: PFSNames.Version, bytes: INT, created: GMT, fileType: PFS.FileType,
pathName: REF TEXT, fID: FileID, isDir: BOOL, numKids: CARD];
EncapsulateFileID:
PROC [fileID: FileID]
RETURNS [value: AttributeValue];
EncapsulateCard32:
PROC [i:
CARD32]
RETURNS [value: AttributeValue];