-- 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.IAsyncResult.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.AsyncCallback.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Net.IPHostEntry.Ref is access;
with type MSSyst.Net.IPAddress.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Object;
package MSSyst.Net.Dns 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;
   function BeginGetHostByName(
      hostName : MSSyst.String.Ref;
      requestCallback : MSSyst.AsyncCallback.Ref;
      stateObject : MSSyst.Object.Ref) return MSSyst.IAsyncResult.Ref;
   function BeginResolve(
      hostName : MSSyst.String.Ref;
      requestCallback : MSSyst.AsyncCallback.Ref;
      stateObject : MSSyst.Object.Ref) return MSSyst.IAsyncResult.Ref;
   function EndGetHostByName(
      asyncResult : MSSyst.IAsyncResult.Ref) return MSSyst.Net.IPHostEntry.Ref;
   function EndResolve(
      asyncResult : MSSyst.IAsyncResult.Ref) return MSSyst.Net.IPHostEntry.Ref;
   function GetHostByAddress(
      address : MSSyst.String.Ref) return MSSyst.Net.IPHostEntry.Ref;
   function GetHostByAddress(
      address : MSSyst.Net.IPAddress.Ref) return MSSyst.Net.IPHostEntry.Ref;
   function GetHostByName(
      hostName : MSSyst.String.Ref) return MSSyst.Net.IPHostEntry.Ref;
   function GetHostName return MSSyst.String.Ref;
   function Resolve(
      hostName : MSSyst.String.Ref) return MSSyst.Net.IPHostEntry.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,BeginGetHostByName,"BeginGetHostByName");
   pragma Import(MSIL,BeginResolve,"BeginResolve");
   pragma Import(MSIL,EndGetHostByName,"EndGetHostByName");
   pragma Import(MSIL,EndResolve,"EndResolve");
   pragma Import(MSIL,GetHostByAddress,"GetHostByAddress");
   pragma Import(MSIL,GetHostByName,"GetHostByName");
   pragma Import(MSIL,GetHostName,"GetHostName");
   pragma Import(MSIL,Resolve,"Resolve");
end MSSyst.Net.Dns;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.Dns,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.Dns");
