| Line | |
|---|
| 1 | /* $Id: hll.h,v 1.1 2000-03-24 18:13:45 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * HLL definitions.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 | #ifndef _HLL_h_
|
|---|
| 11 | #define _HLL_h_
|
|---|
| 12 |
|
|---|
| 13 | #pragma pack(1)
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | /*******************************************************************************
|
|---|
| 17 | * Defined Constants And Macros *
|
|---|
| 18 | *******************************************************************************/
|
|---|
| 19 |
|
|---|
| 20 | /*
|
|---|
| 21 | * Directory entry types.
|
|---|
| 22 | */
|
|---|
| 23 | #define HLL_DE_MODULES 0x0101 /* Filename */
|
|---|
| 24 | #define HLL_DE_PUBLICS 0x0102 /* Public symbols */
|
|---|
| 25 | #define HLL_DE_TYPES 0x0103 /* Types */
|
|---|
| 26 | #define HLL_DE_SYMBOLS 0x0104 /* Symbols */
|
|---|
| 27 | #define HLL_DE_LIBRARIES 0x0106 /* Libraries */
|
|---|
| 28 | #define HLL_DE_SRCLINES 0x0105 /* Line numbers - (IBM C/2 1.1) */
|
|---|
| 29 | #define HLL_DE_SRCLNSEG 0x0109 /* Line numbers - (MSC 6.00) */
|
|---|
| 30 | #define HLL_DE_IBMSRC 0x010B /* Line numbers - (IBM HLL) */
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | /*******************************************************************************
|
|---|
| 35 | * Structures and Typedefs *
|
|---|
| 36 | *******************************************************************************/
|
|---|
| 37 |
|
|---|
| 38 | /*
|
|---|
| 39 | * HLL HDR Entry.
|
|---|
| 40 | */
|
|---|
| 41 | typedef struct _HLLDirEntry
|
|---|
| 42 | {
|
|---|
| 43 | unsigned short usType;
|
|---|
| 44 | unsigned short iMod;
|
|---|
| 45 | unsigned long off;
|
|---|
| 46 | unsigned long cb;
|
|---|
| 47 | } HLLDIRENTRY, *PHLLDIRENTRY;
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | /*
|
|---|
| 52 | * HLL Directory.
|
|---|
| 53 | */
|
|---|
| 54 | typedef struct _HLLDirectory
|
|---|
| 55 | {
|
|---|
| 56 | unsigned long cEntries;
|
|---|
| 57 | HLLDIRENTRY aEntries[1];
|
|---|
| 58 | } HLLDIR, *PHLLDIR;
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | #pragma pack()
|
|---|
| 66 |
|
|---|
| 67 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.