home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / wf_expl / langprof.h < prev    next >
Text File  |  1992-05-05  |  2KB  |  56 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /* COPYRIGHT IBM CORP., 1992                                                */
  4. /*                                                                          */
  5. /****************************************************************************/
  6.  
  7. typedef struct _ACTION
  8.         {
  9.         long   Offset_EXE_NameString;
  10.         long   Offset_DLL_NameString;
  11.         } ACTION, * pACTION;
  12.  
  13.  
  14. /* All long offsets are zero-based from the start of the StringTable */
  15. typedef struct
  16.         {
  17.         char   lprofid[4];             /* must be "LPRF" */
  18.  
  19.         char   eyecatcher[8];
  20.  
  21.         long   Size_Of_The_profile_In_Bytes;
  22.  
  23.         ACTION compiler;
  24.         ACTION linker;
  25.         ACTION maker;
  26.         ACTION debugger;
  27.  
  28.         long   Offset_LanguageName;
  29.         long   Offset_LlanguageMask;
  30.         long   Offset_DefaultMake_String;
  31.         long   Offset_DefaultDebug_String;
  32.  
  33.         long   maxcompsize;
  34.         long   maxcompstr;
  35.         long   maxlinksize;
  36.         long   maxlinkstr;
  37.  
  38.         long   StringTableLengthInBytes;
  39.  
  40.         short  debugger_invocation;
  41.  
  42.         /* equals 1 if DLL is 32 bits, 0 if 16 bits - Not Required       */
  43.         unsigned int compiler_dll_32 : 1;
  44.         unsigned int linker_dll_32   : 1;
  45.         unsigned int maker_dll_32    : 1;
  46.         unsigned int debugger_dll_32 : 1;
  47.         unsigned int Reserved1       : 12;
  48.  
  49.         long   include_variable_string_offset;
  50.         long   lib_variable_string_offset;
  51.  
  52.         long   Reserved[21];
  53.  
  54.         char   StringTable[0];
  55.         } LANG_PROF;
  56.