DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7f42fb0d1⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Convert_Errno, seg_052ab6, separate Transport

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



separate (Transport)
function Convert_Errno (Errno : Unix_Base_Types.Int)
                       return Transport_Defs.Status_Code is
begin
    case Errno is
        when System_Interface.Error.Econnreset |
             System_Interface.Error.Eremoterelease =>
            return Transport_Defs.Connection_Broken;
        when System_Interface.Error.Enomem =>
            return Transport_Defs.No_Free_Memory;
        when System_Interface.Error.Eacces =>
            return Transport_Defs.Access_Denied;
        when System_Interface.Error.Eprotonosupport =>
            return Transport_Defs.Protocol_Not_Supported;

        when System_Interface.Error.Eaddrinuse =>
            return Transport_Defs.Socket_In_Use;

        when System_Interface.Error.Enetunreach =>
            return Transport_Defs.Network_Unreachable;

        when System_Interface.Error.Enotconn =>
            return Transport_Defs.Not_Connected;
        when System_Interface.Error.Eshutdown =>
            return Transport_Defs.Not_Open;
        when System_Interface.Error.Etimedout =>
            return Transport_Defs.Timed_Out;
        when System_Interface.Error.Econnrefused =>
            return Transport_Defs.Connection_Refused;
        when System_Interface.Error.Ehostunreach =>
            return Transport_Defs.Host_Unreachable;
        when others =>
            return Transport_Defs.Status_Code
                      (Errno + Unix_Base_Types.Int (100));
    end case;
end Convert_Errno;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=05a
        [0x01] rec0=0f rec1=00 rec2=02 rec3=000
    tail 0x21759fea887a14f35d410 0x42a00088462060003