home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / adaada.zip / ADAADA.ZIP / SRC / ADA_ERR / ADA_ERR.ADA < prev   
Text File  |  1994-10-12  |  2KB  |  80 lines

  1. -- Copyright (c) 1994 ARINC Research Corporation
  2. -- From material copyright (c) 1991, 1992 Premia Corporation
  3. --
  4. -- This material may be reproduced by or for the US Government pursuant 
  5. -- to the copyright license under DFAR Clause 252.227-7013 (1988)
  6. --
  7. -- Developed for US Air Force under contract no. F41608-90-D-0544-0005
  8. --
  9. -- MODIFICATIONS
  10. --   94/06 - J. Neuse, SD/OSE/EA  - Initial code
  11. --   94/10 - O. Sluder, SD/OSE/EA - Cleanup
  12.  
  13. with WINTYPES;
  14.  
  15. -- *******************
  16. -- *                 *
  17. -- *  Error_Parsers  *  SPEC
  18. -- *                 *
  19. -- *******************
  20.  
  21. package Error_Parsers is
  22.  
  23.   -- The following pragmas are required by the Meridian OpenAda for
  24.   -- Windows 2.0 compiler in the package spec and body of code to be
  25.   -- included in a DLL, or an application calling the DLL will 
  26.   -- general protection fault
  27.   pragma SUPPRESS (elaboration_check);
  28.   pragma SUPPRESS (storage_check);
  29.  
  30.   -- The following pragma is required by the Meridian OpenAda for 
  31.   -- Windows 2.0 compiler in the package spec of code to used in a DLL
  32.   -- to properly export function names; its scope continues to the next 
  33.   -- use of the pragma
  34.   pragma runtime_names (windows);
  35.  
  36.   -- ..........
  37.   -- .        .
  38.   -- .  Init  .  SPEC
  39.   -- .        .
  40.   -- ..........
  41.  
  42.   procedure Init;
  43.  
  44.   -- .............
  45.   -- .           .
  46.   -- .  LibMain  .  SPEC
  47.   -- .           .
  48.   -- .............
  49.  
  50.   function LibMain (hModule     : in WINTYPES.HANDLE;
  51.                     wDataSeg    : in WINTYPES.WORD;
  52.                     cbHeapSize  : in WINTYPES.WORD;
  53.                     lpszCmdLine : in WINTYPES.LPSTR) return INTEGER;
  54.  
  55.   -- .........
  56.   -- .       .
  57.   -- .  WEP  .  SPEC
  58.   -- .       .
  59.   -- .........
  60.  
  61.   function WEP (bSystemExit : in INTEGER) return INTEGER;
  62.  
  63.   -- ......................
  64.   -- .                               .
  65.   -- .  MeridianErrorInfo .  SPEC
  66.   -- .                            .
  67.   -- ......................
  68.  
  69.   function MeridianErrorInfo return INTEGER;
  70.  
  71.   -- ....................
  72.   -- .                          .
  73.   -- .  JanusErrorInfo  .  SPEC
  74.   -- .                       .
  75.   -- ....................
  76.  
  77.   function JanusErrorInfo return INTEGER;
  78.  
  79. end Error_Parsers;
  80.