; ****************************************************************************/
; **
; **  Name:  varserver.def
; **
; **  Description:
; **     Contains the module definition information of the VWSERVER.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/mt2_186/varsrv/varservr.dev  $
; ** 
; **    Rev 1.0   16 Dec 1996 14:48:06   Judy
; ** Initial revision.
; ** 
; **    Rev 1.36   25 Jan 1995 11:55:32   marilyn
; ** Added MemGetAccessSize import.
; ** 
; **    Rev 1.35   24 Jan 1995 16:55:54   marilyn
; ** Added imports for ini file access.
; ** 
; **    Rev 1.34   04 Jan 1995 09:40:10   steve
; ** Changed CODE PRELOAD to LOADONCALL
; ** 
; **    Rev 1.33   17 Oct 1994 12:16:50   marilyn
; ** Added import AdrGetAddrMode.
; ** 
; **    Rev 1.32   08 Sep 1994 16:46:50   marilyn
; ** Added imports.
; ** 
; **    Rev 1.31   24 Aug 1994 09:57:32   marilyn
; ** Updated for X86 support.
; ** 
; **    Rev 1.30   20 Jun 1994 17:05:56   nghia
; ** Merged 1.29.1.0 to trunk
; ** 
; **    Rev 1.29.1.0   31 May 1994 17:27:56   nghia
; ** Added new export for the STKSERVR - StkGetStackAddress() routine to import.
; ** 
; **    Rev 1.29   28 Feb 1994 17:04:18   marilyn
; ** Moved maxOutput routines to the address server. Updated interfaces.
; ** 
; **    Rev 1.28   02 Nov 1993 11:08:04   nghia
; ** Added ProcReturnMaxOutputAddress() to import list.
; ** 
; **    Rev 1.27   25 Jun 1993 17:58:20   paul
; ** add TskCheckAbort
; ** 
; **    Rev 1.26   15 Jun 1993 11:47:24   mindy
; ** Now call symbol routine to update lifetime info and get proc
; ** type and default stack size.
; ** 
; **    Rev 1.25   15 Dec 1992 12:59:20   ernie
; ** Changed from MemXXXX calls to new MemXXXXSized calls
; ** 
; **    Rev 1.24   06 Nov 1992 16:19:46   marilyn
; ** Added imports to support block scoping.
; ** 
; **    Rev 1.23   24 Oct 1992 10:44:34   marilyn
; ** Added import.
; ** 
; **    Rev 1.22   21 Oct 1992 16:16:12   marilyn
; ** Added some imports.
; ** 
; **    Rev 1.21   09 Oct 1992 12:21:50   marilyn
; ** Added import for HeapDump.
; ** 
; **    Rev 1.20   10 Sep 1992 15:24:26   marilyn
; ** Added imports from symbol and stack servers.
; ** 
; **    Rev 1.19   19 Aug 1992 10:41:04   marilyn
; ** Added imports.
; ** 
; **    Rev 1.18   04 Aug 1992 16:51:38   marilyn
; ** Added import from SymGetTypeENumName
; ** 
; **    Rev 1.17   28 May 1992 16:35:16   marilyn
; ** Added export VSReadStackVar and import StkVarIsActive.
; ** 
; **    Rev 1.16   14 May 1992 16:31:40   marilyn
; ** Removed VSGetErrorText and changed import to ErrInitDLL.
; ** 
; **    Rev 1.15   13 May 1992 11:27:20   marilyn
; ** Added new import and export for GetErrorText calls.
; ** 
; **    Rev 1.14   08 May 1992 16:43:38   marilyn
; ** Added VSGetBufferSize and VSGetLinesForVar.
; ** 
; **    Rev 1.13   04 May 1992 17:12:34   marilyn
; ** Added import for SymGetTypeBitfield.
; ** 
; **    Rev 1.12   24 Apr 1992 16:53:30   marilyn
; ** Add imports for symbol server.
; ** 
; **    Rev 1.11   20 Apr 1992 12:07:02   brucea
; ** Added: RESIDENTNAME to WEP
; ** 
; **    Rev 1.10   17 Apr 1992 16:23:06   marilyn
; ** Added imports for StkCalcStkOffset and AdrSetAddrOffset.
; ** 
; **    Rev 1.9   03 Apr 1992 08:58:08   marilyn
; ** Added imports for address server.
; ** 
; **    Rev 1.8   30 Mar 1992 16:52:56   marilyn
; ** Added some additional stack server calls.
; ** 
; **    Rev 1.7   23 Mar 1992 11:46:00   marilyn
; ** Added InitServer and TerminateServer.
; ** 
; **    Rev 1.6   28 Feb 1992 11:01:52   marilyn
; ** Updated to new interfaces for stack, cpu, and memory servers.
; ** 
; **    Rev 1.5   05 Feb 1992 09:37:18   marilyn
; ** Added exports for calls to address and symbol servers.
; ** 
; **    Rev 1.4   27 Jan 1992 13:54:04   marilyn
; ** Added exports for address and symbol servers.
; ** 
; **    Rev 1.3   23 Jan 1992 17:42:44   marilyn
; ** No change.
; ** 
; **    Rev 1.2   22 Jan 1992 17:34:36   marilyn
; ** Corrected exports.
; ** 
; **    Rev 1.1   18 Jan 1992 13:55:30   courtney
; ** Added LibMain and InitCServer to export list.
; ** 
; **    Rev 1.0   17 Jan 1992 08:06:56   marilyn
; ** Initial revision.
; ** 
; **  $Header:   S:/tbird/mt2_186/varsrv/varservr.dev   1.0   16 Dec 1996 14:48:06   Judy  $
; **
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      VARSERVR

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

EXPORTS      WEP                     @1  RESIDENTNAME
; Variable Watch Server export functions - VARSERVR.C 
             VSStartSession          @2
             VSEndSession            @3
             VSOpenVar               @4
             VSOpenCompositeVar      @5
             VSOpenComponentVar      @6
             VSInterpretVarAsType    @7
             VSInterpretMemAsType    @8
             VSCloseVar              @9
             VSReadVar               @10
             VSReadVarAtNBuf         @11
             VSEditValue             @12
             VSNewValue              @13
             VSCallback              @14
             VSInit                  @15
             VSVarSymbol             @16
             VSGetBufferSize         @17
             VSGetLinesForVar        @18
             VSReadStackVar          @19
             LibMain                 @20
             InitCServer             @21
             InitServer              @22
             TerminateServer         @23


; Variable Server CLI export functions - VARCLI.C
             AddVar                  @24
             DeleteVar               @25
             DisplayVar              @26
             DumpVars                @27
             SendCliResults          @28
             SetVar                  @29
             ToggleVar               @30
            ;VSChangeRadix           @31

IMPORTS
; Symbol Server Import functions -  SYMGET.CPP
             SYMBL.SymGetVar
             SYMBL.SymGetVarLifetimeInfo
             SYMBL.SymGetTypeHeader
             SYMBL.SymGetTypePointerTypeIndex
             SYMBL.SymGetTypeStructUnion
             SYMBL.SymGetTypeStructUnionNth
             SYMBL.SymGetTypeMemberCount
             SYMBL.SymGetTypeCArray
             SYMBL.SymGetSymbolFromContext
             SYMBL.SymGetModuleListHead
             SYMBL.SymGetFuncByName
             SYMBL.SymGetFuncType
             SYMBL.SymGetModuleDesc
             SYMBL.SymGetFunc
             SYMBL.SymGetTypeTypeIndex
             SYMBL.SymGetTypeBitfield
             SYMBL.SymGetTypeEnumName
             SYMBL.SymMapAddr2Linenum
             SYMBL.SymGetSymbolAddress


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

; Event Nofification Library
             ENLIB.EnlEventNotify
             ENLIB.EnlRegister

; Stack Server
             STKSERVR.StkGetCurrentModule
             STKSERVR.StkGetCurrentFunction
             STKSERVR.StkGetCurrentLowestLevel
             STKSERVR.StkGetCurrentLinenum      
             STKSERVR.StkStartSession
             STKSERVR.StkEndSession
             STKSERVR.StkGetStackDirection
             STKSERVR.StkRead
             STKSERVR.StkWrite
             STKSERVR.StkCalcStkOffset
             STKSERVR.StkVarIsActive
             STKSERVR.StkGetStackAddress

; Address Server
             ADDR.AdrAddToAddress
             ADDR.AdrSubtractFromAddress
             ADDR.AdrCreateAddress
             ADDR.AdrDestroyAddress
             ADDR.AdrCremateAddress
             ADDR.AdrDuplicateAddress
             ADDR.AdrConvAddressToText
             ADDR.AdrConvertPointerToAddress
             ADDR.AdrConvTextToAddress
             ADDR.AdrGetAddrOffset
             ADDR.AdrSetAddrOffset
             ADDR.AdrCompareAddresses
             ADDR.AdrIsAddrInRange
             ADDR.AdrGetMaxOutputAddrOffset
             ADDR.AdrConvertAddressToPointer
             ADDR.AdrSetAddrSegmentSelector
             ADDR.AdrGetAddrSegmentSelector
             ADDR.AdrCopyAddress
             ADDR.AdrGetAddrMode

; Memory Server
             MEM.MemReadSized
             MEM.MemWriteSized
             MEM.MemGetAccessSize

; Cpu Server
             CPU.CpuGetRegister
             CPU.CpuSetRegister
             CPU.CpuGetPC

; Error text server
             ERRTEXT.ErrInitDLL
             ERRTEXT.ErrDisplayError

;  Proc server
             PROC.ProcReturnByteOrder
             PROC.ProcReturnCpu
             PROC.ProcDefaultStackSize
             PROC.ProcReturnProcFamily

; EscKey processing routines
             PVTASK.TskCheckAbort

; CliULib routines
             CLIULIB.IniGetString
             CLIULIB.IniGetNumber


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