VoiceUtilsExtras.mesa
Copyright Ó 1990 by Xerox Corporation. All rights reserved.
Polle Zellweger (PTZ) August 13, 1990 2:16:46 pm PDT
DIRECTORY
Arpa USING [ Address ],
ArpaUDP USING [ Port ],
Rope USING [ ROPE ]
;
VoiceUtilsExtras: CEDAR DEFINITIONS = {
Sun RPC addresses should look like "sun#[1.2.3.4]#5", where [1.2.3.4] is the Arpa address, and 5 is the port.
SunProtocol: PROC [netAddressRope: Rope.ROPE] RETURNS [BOOL];
SunAddrFromRope: PROC [netAddressRope: Rope.ROPE]
RETURNS [address: Arpa.Address, port: ArpaUDP.Port];
RopeFromSunAddr: PROC[address: Rope.ROPE←NIL, port: CARD32]
RETURNS
[netAddressRope: Rope.ROPE];
if address is NIL, will use Arpa address of this machine.
GetUniqueID: PROC RETURNS [CARD32];
Unique within a session. May get reused due to rollback or reboot.
}.