------------------------------------------------------------------------------
--                              Ada Web Server                              --
--                                                                          --
--                            Copyright (C) 2007                            --
--                                 AdaCore                                --
--                                                                          --
--  This library is free software; you can redistribute it and/or modify    --
--  it under the terms of the GNU General Public License as published by    --
--  the Free Software Foundation; either version 2 of the License, or (at   --
--  your option) any later version.                                         --
--                                                                          --
--  This library is distributed in the hope that it will be useful, but     --
--  WITHOUT ANY WARRANTY; without even the implied warranty of              --
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       --
--  General Public License for more details.                                --
--                                                                          --
--  You should have received a copy of the GNU General Public License       --
--  along with this library; if not, write to the Free Software Foundation, --
--  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.          --
--                                                                          --
------------------------------------------------------------------------------

package WSDL_C is

   type My_Int is range 1 .. 100;
   subtype My_Number is My_Int range 1 .. 2;
   subtype Big_Number is Long_Long_Integer;

   type S_Int is new Positive range 1 .. 4;
   type L_Int is new Long_Integer  range 1 .. Long_Integer'Last;

   type My_Float is digits 6;
   type My_Double is digits 15;
   type My_Float2 is new Float;

   type Mod1 is mod 10;
   type Mod2 is mod 6543;
   type Mod3 is mod 1_987_987_543;

   type R is record
      C1 : My_Int;
      C2 : Positive;
      C3 : Natural;
      C4 : My_Number;
      C5 : Big_Number;
      C6 : My_Float;
      C7 : My_Float2;
      C8 : S_Int;
      C9 : Float;
   end record;

   procedure P
     (A : in R;
      B : in My_Int;
      C : in My_Float;
      D : in My_Number;
      E : in Big_Number;
      F : in S_int);

end WSDL_C;
