; ****************************************************************************
; **
; **  Name:  stkservr.def
; **
; **  Description:
; **     Contains the module definition information of the STKSERVR.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/mt2_68k/stkservr/stkservr.dev  $
; ** 
; **    Rev 1.0   13 Feb 1997 09:05:02   gene
; ** Initial revision.
; ** 
; **    Rev 1.2   09 Sep 1996 09:41:52   kevin
; ** added symbl.symgetsymbolheadlist
; ** 
; **    Rev 1.1   01 Dec 1995 10:09:28   kevin
; ** joyce's modification
; ** 
; **    Rev 1.0   07 Sep 1995 11:14:22   gene
; ** Initial revision.
; ** 
; **    Rev 1.34   06 Apr 1994 17:11:04   nghia
; ** Added AdrSetAddrSpace() to import list.
; ** 
; **    Rev 1.33   28 Feb 1994 17:02:58   marilyn
; ** Moved maxOutput routines to the address server. Updated interfaces.
; ** 
; **    Rev 1.32   07 Oct 1993 17:19:20   nghia
; ** Added SymGetSymbolName() and SymGetSymbolAddress() to import list.
; ** 
; **    Rev 1.31   04 Aug 1993 11:27:52   marilyn
; ** Added Heap.DumpHeap to imports for debugging memory leaks.
; ** 
; **    Rev 1.30   27 Jul 1993 20:15:32   nghia
; ** Fixed PPR 8319 - Stack Area too large.
; ** 
; **    Rev 1.29   16 Jul 1993 11:53:06   nghia
; ** PIP for Stack:
; ** - Export new routines.
; ** - Import form loader, errtext, address servers.
; ** 
; **    Rev 1.28   07 Jul 1993 11:09:34   nghia
; ** Changed StkGetAnyFrame to StkAnyFrames for Actor's StackLib class.
; ** 
; **    Rev 1.27   28 Jun 1993 08:59:10   paul
; ** Add TskCheckAbort import
; **
; **    Rev 1.26   16 Jun 1993 12:07:22   mindy
; ** Made needed changes
; **
; **    Rev 1.25   09 Jun 1993 08:56:04   ernie
; ** Added AdrCopyAddress import
; **
; **    Rev 1.24   25 May 1993 11:49:20   ernie
; ** Added MemReadQuick() function
; **
; **    Rev 1.23   23 Mar 1993 10:31:06   doug
; ** merged John's generic 340 change
; **
; **    Rev 1.22.1.0   04 Mar 1993 17:51:04   john
; ** added entry for returnMaxOutputAddrDigits
; **
; **    Rev 1.22   15 Dec 1992 12:57:52   ernie
; ** Changed MemXXX to MemXXXSized with byte specified
; **
; **    Rev 1.21   12 Oct 1992 10:54:18   brucea
; ** Removed: PROC.ProcReturnMaxAddress
; ** Added:   PROC.ProcReturnMaxInputAddress
; **
; **    Rev 1.20   03 Sep 1992 13:51:34   marilyn
; ** Added import.
; **
; **    Rev 1.19   19 Aug 1992 09:07:16   marilyn
; ** Additional imports.
; **
; **    Rev 1.18   13 Aug 1992 17:09:48   marilyn
; ** Added some imports.
; **
; **    Rev 1.17   14 Jul 1992 09:45:28   marilyn
; ** Remove unused import for addr.
; **
; **    Rev 1.16   02 Jun 1992 16:21:16   marilyn
; ** Added ReadStackVar
; **
; **    Rev 1.15   28 May 1992 16:41:50   marilyn
; ** Added export StkVarIsActive.
; **
; **    Rev 1.14   14 May 1992 16:41:52   marilyn
; ** Removed StkGetErrorText and changed import to ErrInitDLL./
; **
; **    Rev 1.13   13 May 1992 16:15:26   marilyn
; ** Added imports and exports for GetErrorText.
; **
; **    Rev 1.12   30 Apr 1992 19:07:24   brucea
; ** Changed: ADDR.AdrCompareAddresses was already present
; **
; **    Rev 1.11   30 Apr 1992 18:54:28   brucea
; ** Imports: ADDR.AdrCompareAddresses added
; **
; **    Rev 1.10   20 Apr 1992 12:05:40   brucea
; ** Added: RESIDENTNAME to WEP
; **
; **    Rev 1.9   17 Apr 1992 16:27:10   marilyn
; ** added export for StkCalcStkOffset.
; **
; **    Rev 1.8   26 Mar 1992 18:33:34   brucea
; ** Added to export list: StkCalcSymbolicInfo
; **
; **    Rev 1.7   11 Mar 1992 10:44:44   marilyn
; ** Added additional external interfaces for stack server.
; **
; **    Rev 1.6   27 Feb 1992 15:42:28   marilyn
; ** Updated to use mem.dll and cpu.dll
; **
; **    Rev 1.5   14 Feb 1992 12:07:36   marilyn
; ** Added import to SYMBL.SymMapAddr2Linenum.
; **
; **    Rev 1.4   14 Feb 1992 11:41:02   marilyn
; ** Added another import from ADDR.AdrSetAddrSymbolUsage.
; **
; **    Rev 1.3   13 Feb 1992 17:18:16   brucea
; ** Added MEMORY.MemSearch
; **
; **
; **    Rev 1.2   12 Feb 1992 08:15:02   marilyn
; ** No change.
; **
; **    Rev 1.1   11 Feb 1992 15:59:50   marilyn
; ** Updated all exports and imports for integrated DLL.
; **
; **    Rev 1.0   24 Jan 1992 12:08:12   brucea
; ** Initial revision.
; **
; **  $Header:   S:/tbird/mt2_68k/stkservr/stkservr.dev   1.0   13 Feb 1997 09:05:02   gene  $
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      STKSERVR

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

EXPORTS      WEP                     @1  RESIDENTNAME
; Stack Server export functions - derived from STKSERVR.H
             StkCallback              @2
             StkDisableAlarmLimit     @3
             StkDisableHighWaterMark  @4
             StkEnableAlarmLimit      @5
             StkEnableHighWaterMark   @6
             StkEndSession            @7
             StkGetAlarmLimit         @8
             StkGetAlarmState         @9
             StkGetCurrentFunction    @10
             StkGetCurrentLinenum     @11
             StkGetCurrentLowestlevel @12
             StkAnyFrames             @13
             StkGetFrameSymbol        @14
             StkGetCurrentModule      @15
             StkGetHighWaterMark      @16
             StkGetStackBase          @17
             StkGetStackDirection     @18
             StkGetStackSize          @19
             StkOpenStack             @20
             StkRead                  @21
             StkReadFrameLocals       @22
             StkReadFrameN            @23
             StkSetAlarmLimit         @24
             StkSetStackBase          @25
             StkSetStackSize          @26
             StkSetStackToPattern     @27
             StkStartSession          @28
             StkWrite                 @29
             StkCalcSymbolicInfo      @30
             StkCalcStkOffset         @31
             StkVarIsActive           @32
             LibMain                  @33
             InitCServer              @34
             InitServer               @35
             TerminateServer          @36
; Stack Server export functions - derived from STKCLI.H
             DisableAlarmLimit        @37
             DisableHighWaterMark     @38
             DisplayStack             @39
             EnableAlarmLimit         @40
             EnableHighWaterMark      @41
             FillStackPattern         @42
             SetStackAlarm            @43
             SetStackBase             @44
             SetStackSize             @45
             StackInfo                @46
; PIP for Stack - Nghia
             SetStackArea             @47
             StkGetStackInfo          @48
             StkSetStackBaseAndSize   @49
             StkSetAlarmLimitPercent  @50

IMPORTS
; Symbol Server Import functions -  SYMGET.CPP
             SYMBL.SymCheckForNoSymbols
             SYMBL.SymGetSymbolFromContext
             SYMBL.SymGetModuleListHead
             SYMBL.SymGetFuncByName
             SYMBL.SymGetFuncVarHeadList
             SYMBL.SymGetFuncType
             SYMBL.SymGetFunc
             SYMBL.SymGetModuleDesc
             SYMBL.SymGetSymbolSibling
             SYMBL.SymMapAddr2Symbol
             SYMBL.SymMapAddr2Linenum
             SYMBL.SymGetSymbolName
             SYMBL.SymGetSymbolAddress
             SYMBL.SymGetSymbolHeadList

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

; Event Nofification Library
             ENLIB.EnlEventNotify
             ENLIB.EnlRegister


; Address Server
             ADDR.AdrAddToAddress
             ADDR.AdrSubtractFromAddress
             ADDR.AdrCompareAddresses
             ADDR.AdrCopyAddress
             ADDR.AdrCreateAddress
             ADDR.AdrDestroyAddress
             ADDR.AdrDuplicateAddress
             ADDR.AdrConvAddressToText
             ADDR.AdrGetPointerFromAddress
             ADDR.AdrConvTextToAddress
             ADDR.AdrConvAddressToTextWithParams
             ADDR.AdrSetAddrOffset
             ADDR.AdrGetAddrOffset
             ADDR.AdrSetAddrSymbolUsage
             ADDR.AdrGetAllocCounts
             ADDR.AdrIsAddrInRange
             ADDR.AdrSetAddrRangeLength
             ADDR.AdrGetMaxInputAddrOffset
             ADDR.AdrGetMaxOutputAddrDigits
             ADDR.AdrSetAddrSpace

; Memory Server
             MEM.MemReadSized
             MEM.MemReadQuick
             MEM.MemWriteSized
             MEM.MemFillSized
             MEM.MemSearchSized

; Cpu Server
             CPU.CpuGetFramePtr
             CPU.CpuGetPC
             CPU.CpuGetSP
             CPU.CpuSetSP
             CPU.CpuGetSpaceMode

; Variable Server
             VARSERVR.VSOpenVar
             VARSERVR.VSReadStackVar
             VARSERVR.VSCloseVar

; Error text server
             ERRTEXT.ErrInitDLL
             ERRTEXT.ErrDisplayError
             ERRTEXT.ErrDisplayErrorEx
             ERRTEXT.ErrDisplayFormattedError

; Proc server
             PROC.ProcReturnCpu
             PROC.ProcDefaultStackSize

; EscKey processing routines
             PVTASK.TskCheckAbort

; Loader 695/SREC
             LD695.LdrGetStack
             LD695.LdrSpaceMode

; CLIULIB routines
;            CLIULIB.IniGetPwrViewsIniPath
;            CLIULIB.IniGetAddress
;            CLIULIB.IniSetAddress
;            CLIULIB.IniGetNum
;            CLIULIB.IniSetNum

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