-- Stub file was translated on February 1, 1984 5:22:30 pm PST by Lupine of December 20, 1983 1:22:57 pm PST
-- Source interface AlpineDebug came from file AlpineDebug.bcd, which was created on February 1, 1984 5:21:56 pm PST with version stamp 151#30#12612747003 from source of May 27, 1983 4:41:01 pm PDT.
-- The RPC stub modules for AlpineDebug are:
-- AlpineDebugRpcControl.mesa;
-- AlpineDebugRpcClientImpl.mesa;
-- AlpineDebugRpcBinderImpl.mesa;
-- AlpineDebugRpcServerImpl.mesa.
-- The parameters for this translation are:
-- Target language = Cedar
-- Default parameter passing = VALUE
-- Deallocate server heap arguments = TRUE
-- Inline RpcServerImpl dispatcher stubs = FALSE
-- Declare signals = FALSE
-- Warn about short POINTER ("MDS") allocations = TRUE
-- Maximum number of dynamic heap NEWs = 50, MDS NEWs = 50
-- Acceptable parameter protocols = VersionRange[1..1].
DIRECTORY
AlpineEnvironment,
AlpineDebug,
RPC USING [defaultInterfaceName, EncryptionKey, InterfaceName, Principal,
standardZones, VersionRange, Zones];
AlpineDebugRpcControl: DEFINITIONS
SHARES AlpineDebug
= BEGIN OPEN AlpineDebug, RpcPublic: RPC;
-- Public RPC types and constants.
InterfaceName: TYPE = RpcPublic.InterfaceName;
VersionRange: TYPE = RpcPublic.VersionRange;
Principal: TYPE = RpcPublic.Principal;
EncryptionKey: TYPE = RpcPublic.EncryptionKey;
Zones: TYPE = RpcPublic.Zones;
defaultInterfaceName: InterfaceName = RpcPublic.defaultInterfaceName;
standardZones: Zones = RpcPublic.standardZones;
-- Standard remote binding routines.
ImportInterface: SAFE PROCEDURE [
interfaceName: InterfaceName ← defaultInterfaceName,
parameterStorage: Zones ← standardZones ];
UnimportInterface: SAFE PROCEDURE;
ExportInterface: SAFE PROCEDURE [
interfaceName: InterfaceName ← defaultInterfaceName,
user: Principal,
password: EncryptionKey,
parameterStorage: Zones ← standardZones ];
UnexportInterface: SAFE PROCEDURE;
-- Dynamic instantiation and binding.
ImportNewInterface: SAFE PROCEDURE [
interfaceName: InterfaceName ← defaultInterfaceName,
parameterStorage: Zones ← standardZones ]
RETURNS [interfaceRecord: InterfaceRecord];
-- NewInterfaceRecord is necessary for Cedar clients who want to
-- manufacture a private interface instance, because
-- RpcBindingImpl has finalization on type InterfaceRecord.
NewInterfaceRecord: SAFE PROCEDURE
RETURNS [interfaceRecord: InterfaceRecord];
InterfaceRecord: TYPE = REF InterfaceRecordObject;
InterfaceRecordObject: TYPE = RECORD [
ReadOwnerFileHeader: PROCEDURE [conversation: AlpineEnvironment.Conversation,
transID: AlpineEnvironment.TransID, volumeGroupID: AlpineEnvironment.VolumeGroupID]
RETURNS [version: NAT, recordedVolGroupID: AlpineEnvironment.VolumeGroupID,
totalQuota: AlpineEnvironment.PageCount, quotaLeft: AlpineEnvironment.PageCount,
numberOfOwners: NAT, numberOfOwnerSlotsInUse: NAT, maxNumberOfOwnersAllowed:
NAT],
ReadNextOwnerRecord: PROCEDURE [conversation: AlpineEnvironment.Conversation,
transID: AlpineEnvironment.TransID, volumeGroupID: AlpineEnvironment.VolumeGroupID,
contRecNum: INT, desiredProperties: AlpineEnvironment.OwnerPropertySet]
RETURNS [entryEmpty: BOOLEAN, entryValid: BOOLEAN, owner: AlpineEnvironment.OwnerName,
properties: LIST OF AlpineEnvironment.OwnerPropertyValuePair,
nextContRecNum: INT],
ChangeSpaceForOwner: PROCEDURE [conversation: AlpineEnvironment.Conversation,
transID: AlpineEnvironment.TransID, volumeGroupID: AlpineEnvironment.VolumeGroupID,
owner: AlpineEnvironment.OwnerName, nPages: AlpineEnvironment.PageCount],
ReadDBUniversalFile: PROCEDURE [volumeGroupID: AlpineEnvironment.VolumeGroupID]
RETURNS [dBID: AlpineEnvironment.UniversalFile],
ReportAccessCacheStats: PROCEDURE RETURNS [nCacheEntries: NAT,
statsCacheHit: INT, statsGrapevineAuthorized: INT, statsGrapevineNotAuthorized:
INT, statsRegServersDown: INT, statsIndivGrapeNotAuthorized:
INT],
ReportAccessVolatileStats: PROCEDURE RETURNS [nRegs: INT, nInits:
INT, nUnRegs: INT, nReorganizes: INT, nEnumAlls: INT, nAllocReqsWin:
INT, nAllocReqsLose: INT, nDeallocReqs: INT, nRemoveOwner: INT,
nEnumFindWin: INT, nEnumFindLose: INT, nSetEnums: INT, nActions:
INT, nPhaseOnes: INT, nPhaseTwos: INT, nAborts: INT],
CrashSystem: PROCEDURE [conversation: AlpineEnvironment.Conversation,
transID: AlpineEnvironment.TransID],
AccessFailed: ERROR [missingAccess: AlpineEnvironment.NeededAccess],
LockFailed: ERROR [why: AlpineEnvironment.LockFailure],
OperationFailed: ERROR [why: AlpineEnvironment.OperationFailure],
StaticallyInvalid: ERROR,
Unknown: ERROR [what: AlpineEnvironment.UnknownType],
lupineDetails: PRIVATE REF LupineDetailsObject←NIL];
LupineDetailsObject: PRIVATE TYPE;
-- Definitions for the stubs.
LupineProtocolVersion: PUBLIC VersionRange = [first: 1, last: 1];
InterMdsCallsOnly: PUBLIC BOOLEAN = FALSE;
ProcedureIndex: PRIVATE TYPE = MACHINE DEPENDENT {
LupineUnusedIndex (0), LupineLastIndex (3),
ReadOwnerFileHeader (4), ReadNextOwnerRecord (5), ChangeSpaceForOwner
(6), ReadDBUniversalFile (7), ReportAccessCacheStats (8), ReportAccessVolatileStats
(9), CrashSystem (10)};
SignalIndex: PRIVATE TYPE = MACHINE DEPENDENT {
LupineUnusedIndex (0), LupineLastIndex (3),
AccessFailed (4), LockFailed (5), OperationFailed (6), StaticallyInvalid
(7), Unknown (8)};
END. -- AlpineDebugRpcControl.