|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 6144 (0x1800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Transport_Name, pragma Module_Name 4 3535, pragma Subsystem Input_Output, seg_001cb7
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Profile;
with Transport;
with Transport_Defs;
with Text_Io;
package Transport_Name is
pragma Subsystem (Input_Output, Private_Part => Closed);
pragma Module_Name (4, 3535);
function Host_To_Network_Name (Host_Name : String)
return Transport_Defs.Network_Name;
function Host_To_Host_Id (Host_Name : String) return Transport_Defs.Host_Id;
function Host_Id_To_Host (Host : Transport_Defs.Host_Id) return String;
-- function Host_Id_To_Host (Network : Transport_Defs.Network_Name;
-- Host : Transport_Defs.Host_Id) return String;
-- ... at end for upward-compatibility.
Undefined : exception;
type Host_Iterator is limited private;
procedure Init (Iter : in out Host_Iterator);
procedure Next (Iter : in out Host_Iterator);
function Value (Iter : Host_Iterator) return String;
function Done (Iter : Host_Iterator) return Boolean;
function Host_To_Machine_Type (Host_Name : String) return String;
-- Host_to_Network_Name and Host_to_Host_Id begin by attempting to
-- query a TCP/IP name server. The object !Machine.Tcp_Ip_Name_Server
-- is read as text: it must contain the Internet address of the server
-- in decimal dotted notation. The address is used to send a query in
-- a UDP datagram. If an answer is received, Host_to_Host_Id returns
-- it, and Host_to_Network_Name returns "TCP/IP". If any step of this
-- process fails (for example, there is no Tcp_Ip_Name_Server file),
-- the function instead attempts to resolve the name as follows:
--
-- Other name resolution operations are driven by a text file, namely
-- !Machine.Transport_Name_Map. The mapping from host_name to other
-- values is changed by changing this file. Each line of the file
-- must contain the following, in the order given, separated by spaces:
--
-- a network_name,
-- a host_id, in decimal notation xx.yy.zz, and
-- a host_name, which must be an Ada simple identifier.
--
-- After the host name, each line may contain an optional machine_type:
-- this identifies the operating system running on that host.
-- See Ftp_Name_Map.Machine_Type. If the machine_type is omitted,
-- Host_to_Machine_Type will return the null string.
--
-- Comments, beginning with "--", may be added to the end of any line.
function Local_Host_Name
(Network : Transport_Defs.Network_Name) return String;
-- Each user may keep maps from Host_Name to username, password
-- and session for that host. The maps are pointed to by the
-- profile values Remote_Passwords (for usernames and passwords)
-- and Remote_Sessions (for sessions). See the documentation of
-- package Profile for further details.
function Host_To_Remote_Username
(Host_Name : String;
Response : Profile.Response_Profile := Profile.Get)
return String;
function Host_To_Remote_Password
(Host_Name : String;
Response : Profile.Response_Profile := Profile.Get)
return String;
function Host_To_Remote_Session
(Host_Name : String;
Response : Profile.Response_Profile := Profile.Get)
return String;
function Host_Id_To_Host (Network : Transport_Defs.Network_Name;
Host : Transport_Defs.Host_Id) return String;
end Transport_Name;
nblk1=5
nid=0
hdr6=a
[0x00] rec0=1d rec1=00 rec2=01 rec3=074
[0x01] rec0=01 rec1=00 rec2=05 rec3=000
[0x02] rec0=11 rec1=00 rec2=02 rec3=026
[0x03] rec0=16 rec1=00 rec2=03 rec3=040
[0x04] rec0=10 rec1=00 rec2=04 rec3=001
tail 0x20100f9027da18de9a789 0x42a00088462065003