/*+                     

TITLE:	       	COUNT_REC

FACILITY:   	WATCHER

ABSTRACT:   	Counter record for accumulating change statistics on
    	    	watched processes.

AUTHOR:	    	M. Madison
    	    	Copyright (c) 1988, M. Madison; all rights reserved.

-*/
    DECLARE 1 COUNT_REC BASED,
    	    	2 NEXT	    POINTER,
    	    	2 PID	    VMS_PROCESS_ID,
    	    	2 LASTCHG   VMS_DATE_TIME,
    	    	2 TIO_COUNT FIXED BINARY (31),
    	    	2 PIO_COUNT FIXED BINARY (31),
    	    	2 CPU_TIME  FIXED BINARY (31),
    	    	2 WREC	    POINTER,
    	    	2 USERNAME  CHARACTER (32) VARYING,
    	    	2 TERMINAL  CHARACTER (64) VARYING,
    	    	2 PHYDEVNAM CHARACTER (64) VARYING,
    	    	2 FLAGS,
    	    	    3 VALID BIT (1),
    	    	    3 WARNED BIT (1),
    	    	    3 UNUSED BIT (6);
/*+
    A note about the TERMINAL and PHYDEVNAM fields.  The PHYDEVNAM field
    is used when directing I/O to the terminal in question.  The TERMINAL
    field is used for comparison against watch records & exclusion records,
    and describes a terminal in one of two forms.

    For LAT (terminal server) terminals:    server::port
    For non-LAT terminals:  	    	    node$device <or> device

    "server" and "port" are the terminal server name and port name.
    "node" is the node name as obtained by $GETSYI (item SYI$_NODENAME).
    If that is not set, just the device name is used.  In either form, the
    device name is used without leading underscore and trailing colon.
-*/
