/*!***************************************************************************
  module      : gkb09
  author      : JuergenA
  responsible : UweH
  special area: KB_server_constants_and_types
  last changed: 2000-01-07  12:00
  see also    :
  description :
.nf

    ========== licence begin  GPL
    Copyright (c) 2000-2005 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end
.fo

 

*****************************************************************************/
 
.tt 1 $SAP$LiveCache$GKB09$
.tt 3 $UweH$KB_server_constants_and_types$2000-01-10$
 
Module  : KB_server_constants_and_types
 
Define  :
 
.CM *-END-* define --------------------------------------
 
Use     :
 
.CM *-END-* use -----------------------------------------
 
Synonym :
 
.CM *-END-* synonym -------------------------------------
 
Version : 2002-08-01
 
Release :      Date : 2000-01-10
 
***********************************************************
 
Specification:
 
.CM *-END-* specification -------------------------------
 
***********************************************************
 
Description:
 
.CM *-END-* description ---------------------------------
 
***********************************************************
 
Structure:
 
.CM *-END-* structure -----------------------------------
 
**********************************************************
 
.CM -lll-
Code    :
 
 
TYPE
      tkb09_CommunicationState = (
            csFree_ekb09,
            csReqLocalChild_ekb09,
            csLocalExecution_ekb09,
            csReplyLocalChild_ekb09);                     (* PTS 1104043 JA 1999-10-08 *)
 
      tkb09_MessHead = RECORD
            mhTrans_kb09  : tgg00_TransChild;
            mhMblock_kb09 : tgg00_MessBufHeader
      END;
 
      tkb09_ShortMessBuf    = PACKED ARRAY [1..128] OF char;
      (* *)
      tkb09_PtrMessBodyDesc = ^tkb09_MessBodyDesc;
 
      tkb09_MessBodyDesc = RECORD
            mbyBuf_kb09     : tsp00_MoveObjPtr;
            mbyNext_kb09    : tkb09_PtrMessBodyDesc;
            (* *)
            mbyBufLen_kb09  : tsp00_Int4;
            mbyBufSize_kb09 : tsp00_Int4
      END;
 
      tkb09_MessDescPtr = ^tkb09_MessDesc;
 
      tkb09_MessDesc = RECORD
            mdMessBody_kb09     : tkb09_PtrMessBodyDesc;  (* PTS 1104043 JA 1999-10-08 *)
            mdNext_kb09         : tkb09_MessDescPtr;      (* PTS 1104043 JA 1999-10-08 *)
            (* *)
            mdTransferLen_kb09  : tsp00_Int4;
            mdParentTaskId_kb09 : tsp00_TaskId;
            (* *)
            mdCommState_kb09    : tkb09_CommunicationState;
            mdFiller1_kb09      : boolean;
            mdFiller2_kb09      : tsp00_Int2;
            mdFiller3_kb09      : tsp00_Int4;
            (* *)
            mdMessHead_kb09     : tkb09_MessHead;
            (* *)
            mdShortMessBuf_kb09 : tkb09_ShortMessBuf;
      END;
 
      tkb09_ParentDescPtr = ^tkb09_ParentDesc;
 
      tkb09_ParentDesc = RECORD
            prMdescFirst_kb09 : tkb09_MessDescPtr;        (* PTS 1104043 JA 1999-10-08 *)
            prNext_kb09       : tkb09_ParentDescPtr;      (* PTS 1104043 JA 1999-10-08 *)
            (* *)
            prTaskId_kb09     : tsp00_TaskId;
            prRcvWaiting_kb09 : boolean;                  (* PTS 1104043 JA 1999-10-08 *)
            prRcvTimeout_kb09 : tsp00_Uint1;
            prHashIndex_kb09  : tsp00_Int2
      END;
 
 
      tkb09_ServerDesc = RECORD
            svMdesc_kb09     : tkb09_MessDescPtr;         (* PTS 1104043 JA 1999-10-08 *)
&           ifdef BIT64
&           else
            svFiller1_kb09   : tsp00_Addr;                (* PTS 1104043 JA 1999-10-08 *)
&           endif
            (* *)
            svTaskId_kb09    : tsp00_TaskId;
            svNextIdle_kb09  : tsp00_Int2;
            svRemovable_kb09 : boolean;
            svFiller2_kb09   : boolean;
            (* *)
            svTimeout_kb09   : tsp00_Int4;
            svFiller3_kb09   : tsp00_Int4
      END;
 
      tkb09_ArrayMessDesc     = ARRAY [1..MAX_SERVER_MDESC_GG04] OF tkb09_MessDesc;
      tk0b9_ArrayMessBodyDesc = ARRAY [1..MAX_SERVER_MDESC_GG04] OF tkb09_MessBodyDesc;
      tkb09_ArrayParentDesc   = ARRAY [1..MAX_USER_TASKS_GG04  ] OF tkb09_ParentDesc;
      tkb09_ArrayParentHash   = ARRAY [1..MAX_USER_TASKS_GG04  ] OF tkb09_ParentDescPtr;
      tkb09_ArrayServerDesc   = ARRAY [1..MAX_SERVER_TASKS_GG04] OF tkb09_ServerDesc;
      (* *)
      tkb09_ListMessDesc      = ^tkb09_ArrayMessDesc;
      tkb09_ListMessBodyDesc  = ^tk0b9_ArrayMessBodyDesc;
      tkb09_ListParentDesc    = ^tkb09_ArrayParentDesc;
      tkb09_ListParentHash    = ^tkb09_ArrayParentHash;   (* PTS 1104043 JA 1999-10-08 *)
      tkb09_ListServerDesc    = ^tkb09_ArrayServerDesc;
 
      tkb09_MessCache = RECORD
            mcMdescList_kb09      : tkb09_ListMessDesc;
            mcMdescFirstFree_kb09 : tkb09_MessDescPtr;    (* PTS 1104043 JA 1999-10-08 *)
            (* *)
            mcMbodyList_kb09      : tkb09_ListMessBodyDesc;
            mcMbodyFirstFree_kb09 : tkb09_PtrMessBodyDesc;
            (* *)
            mcMdescMaxItems_kb09  : tsp00_Int4;
            mcMdescCnt_kb09       : tsp00_Int4;
            (* *)
            mcMbodyCnt_kb09       : tsp00_Int4;
            mcFiller1_kb09        : tsp00_Int4;
      END;
 
 
      tkb09_Glob = RECORD
            glParentList_kb09      : tkb09_ListParentDesc;
            glServerList_kb09      : tkb09_ListServerDesc;
            (* *)
            glFirstServerJob_kb09  : tkb09_MessDescPtr;     (* PTS 1104043 JA 1999-10-08 *)
            glLastServerJob_kb09   : tkb09_MessDescPtr;     (* PTS 1104043 JA 1999-10-08 *)
            (* *)
            glParentFirstFree_kb09 : tkb09_ParentDescPtr;   (* PTS 1104043 JA 1999-10-08 *)
            glParentHash_kb09      : tkb09_ListParentHash;  (* PTS 1104043 JA 1999-10-08 *)
            (* *)
            glParentMaxItems_kb09  : tsp00_Int4;
            glTimeLastClear_kb09   : tsp00_Int4;
            (* *)
            (* PTS 1105291 JA 2000-01-07 *)
            glServerBusyCnt_kb09   : tsp00_Int2;            (* PTS 1105291 JA 2000-01-07 *)
            glServerReserved_kb09  : tsp00_Int2;            (* PTS 1105291 JA 2000-01-07 *)
            glServerFirstIdle_kb09 : tsp00_Int2;
            glServerStaticCnt_kb09 : tsp00_Int2;
            (* *)
            glServerCallCnt_kb09   : tsp00_8ByteCounter;    (* PTS 1103743 JA 1999-08-25 *)
            (* *)
            glDropFileTask_kb09    : tsp00_TaskId;          (* PTS 1105291 JA 2000-01-07 *)
            glDropFileReqCnt_kb09  : tsp00_Int4;            (* PTS 1105291 JA 2000-01-07 *)
      END;
 
 
      tkb09_UnivPtr = RECORD
            CASE integer OF
                1:
                    (uvDataPart_kb09  : tgg00_DataPartPtr);
                2:
                    (uvMoveObj_kb09   : tsp00_MoveObjPtr);
                3:
                    (uvQualBuf_kb09   : tgg00_QualBufPtr);
                4:
                    (uvStackList_kb09 : tgg00_StackListPtr)
                END;
            (*ENDCASE*) 
 
 
      tkb09_TransIdRec = RECORD                              (* PTS 1105291 JA 2000-01-07 *)
            tirHeader_kb09      : tgg00_HeaderRec;
            tirTransNo_kb09     : tgg91_TransNo;
            tirLastKeyByte_kb09 : tsp00_Byte
      END;
 
      tkb09_TransIdRecPtr = ^tkb09_TransIdRec;               (* PTS 1105291 JA 2000-01-07 *)
 
.CM *-END-* code ----------------------------------------
.SP 2 
***********************************************************
*-PRETTY-*  statements    :          0
*-PRETTY-*  lines of code :        128        PRETTYX 3.10 
*-PRETTY-*  lines in file :        233         1997-12-10 
.PA 
