.ll 73
.ad 8
.bm 3
.fm 2
.bt $Copyright (c) 2000-2004 SAP AG$$Page %$
.tm 5
.hm 2
.hs 3
.tt 1 $SQL$Project Distributed Database System$VSP0031$
.tt 2 $$$
.tt 3 $UweH$eventing$2000-03-06$
***********************************************************
.nf

.nf


    ========== licence begin  GPL
    Copyright (c) 2000-2004 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


.fo
.nf
.sp
Module  : eventing
=========
.sp
Purpose : Events are defined here
 
.CM *-END-* purpose -------------------------------------
.sp
.cp 3
Define  :
 
.CM *-END-* define --------------------------------------
.sp;.cp 3
Use     :
 
.CM *-END-* use -----------------------------------------
.sp;.cp 3
Synonym :
 
.CM *-END-* synonym -------------------------------------
.sp;.cp 3
Author  :
.sp
.cp 3
Created : 1997-11-04
.sp
.cp 3
Version : 2000-03-06
.sp
.cp 3
Release :      Date : 2000-03-06
.sp
***********************************************************
.sp
.cp 10
.fo
.oc _/1
Specification:
 
.CM *-END-* specification -------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.fo
.oc _/1
Description:
 
.CM *-END-* description ---------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.nf
.oc _/1
Structure:
 
.CM *-END-* structure -----------------------------------
.sp 2
**********************************************************
.sp
.cp 10
.nf
.oc _/1
.CM -lll-
Code    :
 
 
CONST
      csp31_min_text_field = 0;
      csp31_max_text_field = 255;
      csp31_max_events     = 200;
      (* *)
 
TYPE
      tsp31_event_ident = (
            sp31ei_nil,                (* not valid                        *)
            sp31ei_alive,              (* if there is no other event       *)
            sp31ei_autosave,
            sp31ei_backup_pages,
            sp31ei_convertercache_hitrate,
            sp31ei_datacache_hitrate,
            sp31ei_datacache_log_hitrate,
            sp31ei_datacache_omslog_hitrate,
            sp31ei_datacache_oms_hitrate,
            sp31ei_db_filling_above_limit,
            sp31ei_db_filling_below_limit,
            sp31ei_db_filling_changed,
            sp31ei_dw_compr,
            sp31ei_dw_displ,
            sp31ei_event,              (* if an event was set/deleted *)
            sp31ei_log_above_limit,
            sp31ei_log_filling_changed,
            sp31ei_migration_progress,
            sp31ei_restart_shutdown,
            sp31ei_savepoint,
            sp31ei_sessions,
            sp31ei_upd_stat_wanted,
            sp31ei_warning,            (* any opmsg number                 *)
            sp31ei_error)              (* !!! has to be the last in enum *);
      (* *)
      tsp31_event_prio = (
            sp31ep_nil,
            sp31ep_low,
            sp31ep_medium,
            sp31ep_high);
      (* *)
      tsp31_event_text = PACKED ARRAY
            [csp31_min_text_field..csp31_max_text_field] OF char;
      (* *)
      tsp31_event_text_ptr = ^tsp31_event_text;
      (* *)
 
      tsp31_event_description = RECORD
            sp31ed_date         : tsp00_Date;             (* only set by rte *)
            sp31ed_time         : tsp00_Time;             (* only set by rte *)
            (**)
            sp31ed_value_1      : tsp00_Int4;
            sp31ed_value_2      : tsp00_Int4;
            (**)
            sp31ed_eventcnt     : tsp00_Int4;
            sp31ed_ident        : tsp31_event_ident;
            sp31ed_priority     : tsp31_event_prio;
            sp31ed_text_len     : tsp00_Int2;
            (**)
            sp31ed_text_value   : tsp31_event_text
      END;
 
 
      tsp31_one_event_info = RECORD
            sp31oei_value_1  : tsp00_Int4;
            sp31oei_value_2  : tsp00_Int4;
            sp31oei_priority : tsp31_event_prio;
            sp31oei_filler1  : boolean;
            sp31oei_filler2  : tsp00_Int2;
      END;
 
 
      tsp31_short_event_desc = RECORD
            sp31sed_ident    : tsp31_event_ident;
            sp31sed_filler   : boolean;
            sp31sed_eventcnt : tsp00_Int2;
            sp31sed_eventarr : ARRAY [ 1..csp31_max_events ] OF tsp31_one_event_info;
      END;
 
.CM *-END-* code ----------------------------------------
.SP 2 
***********************************************************
*-PRETTY-*  statements    :          0
*-PRETTY-*  lines of code :         71        PRETTYX 3.10 
*-PRETTY-*  lines in file :        165         1997-12-10 
.PA 
