; **  Name:  symbol.def
; **
; **  Description:
; **     Contains the information about the module definition of the
; **     SYMBOL.DLL
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      SYMBL

DESCRIPTION  'TBird SYMBOL Dynamic Link Library'
EXETYPE      WINDOWS
STUB 'WINSTUB.EXE'
CODE         PRELOAD MOVEABLE DISCARDABLE
DATA         PRELOAD MOVEABLE SINGLE
HEAPSIZE     1024

EXPORTS      
            WEP                           @1 RESIDENTNAME
            INITCSERVER                   @2   
            RemoveSymbols                 @3   
            Count                         @4   
            DisplaySymbols                @5   
            GetBase                       @6   
            SetBase                       @7   
            SymAddBaseCreate              @8
            SymAddBaseSetAddr             @9
            SymAddFuncCreate              @10
            SymAddFuncClose               @11  
            SymAddFuncOpen                @12  
            SymAddLabel                   @13  
            SymAddLabelPublic             @14  
	    SYMADDLINENUM                 @15
            SymAddLinenumEnd              @16  
            SymAddLinenumStart            @17 
            SymAddLoadEnd                 @18  
            SymAddLoadStart               @19  
            SymAddModuleClose             @20  
	    SymAddModuleCreate            @21
            SymAddModuleOpen              @22  
            SymAddModuleReference         @23  
            SymAddSymbolSetAddr           @24  
            SymAddTypeBitfield            @25
            SymAddTypeCArray              @26  
            SymAddTypeEnum                @27
            SymAddTypeFunc                @28
            SymAddTypeFuncParam           @29
            SymAddTypeHeader              @30
            SymAddTypeOverwritesize       @31
            SymAddTypePointerTypeIndex    @32
            SymAddTypeStructUnion         @33
            SymAddTypeTypeIndex           @34
            SymAddVar                     @35
            SymAddVarPublic               @36
            SymAddVarLifetimeInfo         @37
            SymGetAddrFromName            @38
            SymGetBaseAddress             @39
            SymGetEndlist                 @40
            SymGetFunc                    @41
            SymGetFuncByName              @42
            SymGetFuncParamNth            @43
            SymGetFuncReturnTypeIndex     @44
            SymGetFuncVarHeadList         @45
            SymGetFuncType                @46
            SymGetLabel                   @47
            SymGetLinenum                 @48
            SymGetLinenumByIndex          @49
            SymGetLinenumStmt             @50
            SymGetLinenumStmtByIndex      @51
            SymGetModule                  @52
            SymGetModuleDesc              @53
            SymGetModuleDescNth           @54
            SymGetModuleListHead          @55
            SymGetModuleRef               @56
            SymGetModuleTimestamp         @57
            SymGetSymbolAddress           @58
            SymGetSymbolChild             @59
            SymGetSymbolFromContext       @60
            SymGetSymbolHeadlist          @61
            SymGetSymbolName              @62
            SymGetSymbolParent            @63
            SymGetSymbolSibling           @64
            SymGetTypeBitfield            @65
            SymGetTypeCArray              @66
            SymGetTypeEnumName            @67
            SymGetTypeEnumValue           @68
            SymGetTypeHeader              @69
            SymGetTypeIndexMax            @70
            SymGetTypeMemberCount         @71
            SymGetTypePointerTypeIndex    @72
            SymGetTypeStructUnion         @73
            SymGetTypeStructUnionNTH      @74
            SymGetTypeTypeIndex           @75
            SymGetVar                     @76
            SymInitialize                 @77
            SymMapAddr2Linenum            @78
            SymMapAddr2LinenumModule      @79
            SymMapAddr2LinenumStmt        @80
            SymMapAddr2LinenumStmtModule  @81
            SymMapAddr2Symbol             @82
            SymMapLinenum2FuncOrBlock     @83
            SymRemoveSymbols              @84
            LibMain                       @85
;  added to support ascii loader
            SymPrintSymbol                @86
            SymPrintSymbols               @87
            SortAllByAddressTables        @88
; new cli commands
            NameOf                        @89
            AddressOf                     @90
; new line functions
            GetRawLinenumByIndex          @91
            GetLinenumFirstIndex          @92
; new line function to support mixed mode display
            SymGetLinenumInOrder          @93
            SymCheckForNoSymbols          @94
            SymCalcSymbolOffset           @95
; new functions to supprort loader 
            SymAddModuleOpenByDesc        @96
            SymGetLdrStats                @97
; new debug functions to verify types table
            DisplayTypes                  @98
            SymGetAllModules              @99      
            SymGetBaseType                @100
; new functions to support class type
            SymAddTypeClass               @101
            SymGetTypeClass               @102
	    SymGetTypeClassNth            @103
	    SymModifyRelation             @104
	    SymAddTypeReferenceTypeIndex  @105

IMPORTS
            addr.AdrGetAddrOffset
            addr.AdrGetLdtSelector
            addr.AdrGetAddrMode
            addr.AdrGetEndAddrOffset
            addr.AdrGetAddrType
            addr.AdrDestroyAddress
            addr.AdrCreateAddress
            addr.AdrInitAddressServer
            addr.AdrSetEndAddrOffset
            addr.AdrSetAddrOffset
            addr.AdrSetAddrSegmentSelector
            addr.AdrGetAddrRangeLength
            addr.AdrConvAddressToTextWithParams
            addr.AdrSetAddrSymbolUsage
            addr.AdrConvTextToAddress
            addr.AdrSubtractFromAddress
            addr.AdrDuplicateAddress
            addr.AdrCompareAddresses

            ldelf.LdrLoadModuleByDesc

            enlib.EnlEventNotify

            STKSERVR.StkGetCurrentModule
            STKSERVR.StkGetCurrentFunction

            CPU.CpuFindRegisterName
            CPU.CpuGetPC

; Malloc Utilities Import functions - HEAP.C
            MALLOC.TMalloc
            MALLOC.TFree

            ERRTEXT.ErrInitDLL
            ERRTEXT.ErrDisplayError

; EscKey processing routines
            PVTASK.TskCheckAbort


; /******************************** E O F ***********************************/
