-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Object.Ref is access;
with MSSyst.Net.Sockets.AddressFamily;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Net.IPAddress is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ is new MSSyst.Object.Typ with record
      null;
   end record;
   Any : MSSyst.Net.IPAddress.Ref;
   pragma Import(MSIL,Any,"Any");
   Loopback : MSSyst.Net.IPAddress.Ref;
   pragma Import(MSIL,Loopback,"Loopback");
   Broadcast : MSSyst.Net.IPAddress.Ref;
   pragma Import(MSIL,Broadcast,"Broadcast");
   None : MSSyst.Net.IPAddress.Ref;
   pragma Import(MSIL,None,"None");
   function new_IPAddress(
      This : Ref := null;
      newAddress : Long_Long_Integer) return Ref;
   function Equals(
      This : access Typ;
      comparand : MSSyst.Object.Ref) return Standard.Boolean;
   function get_Address(
      This : access Typ) return Long_Long_Integer;
   function get_AddressFamily(
      This : access Typ) return MSSyst.Net.Sockets.AddressFamily.Valuetype;
   function GetHashCode(
      This : access Typ) return Integer;
   function HostToNetworkOrder(
      host : Integer) return Integer;
   function HostToNetworkOrder(
      host : MSIL_Types.int16) return MSIL_Types.int16;
   function HostToNetworkOrder(
      host : Long_Long_Integer) return Long_Long_Integer;
   function IsLoopback(
      address : MSSyst.Net.IPAddress.Ref) return Standard.Boolean;
   function NetworkToHostOrder(
      network : Integer) return Integer;
   function NetworkToHostOrder(
      network : MSIL_Types.int16) return MSIL_Types.int16;
   function NetworkToHostOrder(
      network : Long_Long_Integer) return Long_Long_Integer;
   function Parse(
      ipString : MSSyst.String.Ref) return MSSyst.Net.IPAddress.Ref;
   procedure set_Address(
      This : access Typ;
      value : Long_Long_Integer);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_IPAddress);
   pragma Import(MSIL,Equals,"Equals");
   pragma Import(MSIL,get_Address,"get_Address");
   pragma Import(MSIL,get_AddressFamily,"get_AddressFamily");
   pragma Import(MSIL,GetHashCode,"GetHashCode");
   pragma Import(MSIL,HostToNetworkOrder,"HostToNetworkOrder");
   pragma Import(MSIL,IsLoopback,"IsLoopback");
   pragma Import(MSIL,NetworkToHostOrder,"NetworkToHostOrder");
   pragma Import(MSIL,Parse,"Parse");
   pragma Import(MSIL,set_Address,"set_Address");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Net.IPAddress;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.IPAddress,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.IPAddress");
