-- 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 type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Net.Sockets.LingerOption 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 new_LingerOption(
      This : Ref := null;
      enable : Standard.Boolean;
      seconds : Integer) return Ref;
   function get_Enabled(
      This : access Typ) return Standard.Boolean;
   function get_LingerTime(
      This : access Typ) return Integer;
   procedure set_Enabled(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_LingerTime(
      This : access Typ;
      value : Integer);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_LingerOption);
   pragma Import(MSIL,get_Enabled,"get_Enabled");
   pragma Import(MSIL,get_LingerTime,"get_LingerTime");
   pragma Import(MSIL,set_Enabled,"set_Enabled");
   pragma Import(MSIL,set_LingerTime,"set_LingerTime");
end MSSyst.Net.Sockets.LingerOption;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.Sockets.LingerOption,
   ".ver 1:0:5000:0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[System]System.Net.Sockets.LingerOption");
