Remote Procedures --
CreateAlias:
PUBLIC CreateAliasType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, alias.organization];
CrRPC.PutRope[s, alias.domain];
CrRPC.PutRope[s, alias.object];
CrRPC.PutRope[s, sameAs.organization];
CrRPC.PutRope[s, sameAs.domain];
CrRPC.PutRope[s, sameAs.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~10 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
DeleteProperty:
PUBLIC DeletePropertyType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~14 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
CreateObject:
PUBLIC CreateObjectType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~2 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListAliases:
PUBLIC ListAliasesType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutBulkDataSink[h, s, list];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~8 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListDomainsServed:
PUBLIC ListDomainsServedType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutBulkDataSink[h, s, domains];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~1 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
DeleteSelf:
PUBLIC DeleteSelfType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~22 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
RetrieveItem:
PUBLIC RetrieveItemType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutCard32[s, property];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
value ← UProc2[h, s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~16 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListOrganizations:
PUBLIC ListOrganizationsType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern];
CrRPC.PutBulkDataSink[h, s, list];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~5 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListProperties:
PUBLIC ListPropertiesType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
properties ← UProc3[h, s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~15 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListDomains:
PUBLIC ListDomainsType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutBulkDataSink[h, s, list];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~6 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
RetrieveMembers:
PUBLIC RetrieveMembersType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutCard32[s, property];
CrRPC.PutBulkDataSink[h, s, membership];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~18 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
IsMember:
PUBLIC IsMemberType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, memberOf.organization];
CrRPC.PutRope[s, memberOf.domain];
CrRPC.PutRope[s, memberOf.object];
CrRPC.PutCard32[s, property];
CrRPC.PutCard32[s, secondaryProperty];
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
isMember ← CrRPC.GetBool[s];
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~23 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListAliasesOf:
PUBLIC ListAliasesOfType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutBulkDataSink[h, s, list];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~9 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ChangeItem:
PUBLIC ChangeItemType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
MProc4[h, s, newValue];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~17 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
DeleteMember:
PUBLIC DeleteMemberType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
CrRPC.PutRope[s, member.organization];
CrRPC.PutRope[s, member.domain];
CrRPC.PutRope[s, member.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~21 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
AddSelf:
PUBLIC AddSelfType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~20 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
RetrieveAddresses:
PUBLIC RetrieveAddressesType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
};
GetResults: CrRPC.GetResultsProc ~ {
address ← UProc5[h, s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~0 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
DeleteAlias:
PUBLIC DeleteAliasType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, alias.organization];
CrRPC.PutRope[s, alias.domain];
CrRPC.PutRope[s, alias.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~11 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
LookupObject:
PUBLIC LookupObjectType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~4 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
AddGroupProperty:
PUBLIC AddGroupPropertyType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, newProperty];
CrRPC.PutBulkDataSource[h, s, membership];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~12 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
DeleteObject:
PUBLIC DeleteObjectType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~3 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
AddItemProperty:
PUBLIC AddItemPropertyType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, newProperty];
MProc4[h, s, value];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~13 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
AddMember:
PUBLIC AddMemberType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, name.organization];
CrRPC.PutRope[s, name.domain];
CrRPC.PutRope[s, name.object];
CrRPC.PutCard32[s, property];
CrRPC.PutRope[s, newMember.organization];
CrRPC.PutRope[s, newMember.domain];
CrRPC.PutRope[s, newMember.object];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
distinguishedObject.organization ← CrRPC.GetRope[s];
distinguishedObject.domain ← CrRPC.GetRope[s];
distinguishedObject.object ← CrRPC.GetRope[s];
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~19 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
ListObjects:
PUBLIC ListObjectsType ~ {
PutArgs: CrRPC.PutArgsProc ~ {
CrRPC.PutRope[s, pattern.organization];
CrRPC.PutRope[s, pattern.domain];
CrRPC.PutRope[s, pattern.object];
CrRPC.PutCard32[s, property];
CrRPC.PutBulkDataSink[h, s, list];
CrRPC.PutCard16[s, ORD[agent.credentials.type]];
MProc1[h, s, agent.credentials.value];
MProc1[h, s, agent.verifier];
};
GetResults: CrRPC.GetResultsProc ~ {
NULL
};
CrRPC.Call[h~h, remotePgm~2, remotePgmVersion~3, remoteProc~7 , putArgs~PutArgs, getResults~GetResults, getError~GetError];
};
}...