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

⟦25dc66440⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Xlbt_Host3, seg_004fc6

Derivation

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

E3 Source Code



with Unchecked_Deallocation;

with Xlbt_String;  
use Xlbt_String;

package body Xlbt_Host3 is
------------------------------------------------------------------------------
-- X Library Host Computer Controls - Full Interface
--
-- Xlbt_Host3 - Structures used to (un)authorize host/application connections
------------------------------------------------------------------------------
-- Copyright 1989 - 1991 by Rational, Santa Clara, California.
-- Copyright 1985 - 1989 by the Massachusetts Institute of Technology
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the names of MIT or Rational not be
-- used in advertising or publicity pertaining to distribution of the software
-- without specific, written prior permission.
--
-- MIT and Rational disclaim all warranties with regard to this software,
-- including all implied warranties of merchantability and fitness, in no
-- event shall MIT or Rational be liable for any special, indirect or
-- consequential damages or any damages whatsoever resulting from loss of use,
-- data or profits, whether in an action of contract, negligence or other
-- tortious action, arising out of or in connection with the use or performance
-- of this software.
------------------------------------------------------------------------------

    procedure Heap_Free_X_Host_Address_List is  
       new Unchecked_Deallocation (X_Host_Address_Array,  
                                   X_Host_Address_List);

--\x0c
    procedure Free_X_Host_Address_List (List : in out X_Host_Address_List) is
------------------------------------------------------------------------------
-- Frees up all of the X_String_Pointers.
------------------------------------------------------------------------------
    begin

----Free all of the strings in the array.

        for I in List'Range loop  
            Free_X_String_Pointer (List (I).Address);  
        end loop;  
        Heap_Free_X_Host_Address_List (List);

    end Free_X_Host_Address_List;

--\x0c
    procedure Free_X_Host_List (List : in out X_Host_List) is  
    begin  
        List.Enabled := False;  
        Free_X_Host_Address_List (List.List);  
    end Free_X_Host_List;

--\x0c
end Xlbt_Host3;  

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=17 rec1=00 rec2=01 rec3=056
        [0x01] rec0=13 rec1=00 rec2=02 rec3=01c
        [0x02] rec0=16 rec1=00 rec2=03 rec3=000
    tail 0x2150096c081978450344e 0x42a00088462063203