1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/****************************************************************
* *
* Copyright (c) 2001-2021 Fidelity National Information *
* Services, Inc. and/or its subsidiaries. All rights reserved. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#define RC_CPT_SPGINV 0x00
#define RC_CPT_SRVLST 0x01
#define RC_CPT_OFLOW 0x02
#define RC_CPT_INVAL 0x03
#define RC_CPT_AGNTQ 0x04
#define RC_CPT_NAMINV 0x0D
#define RC_CPT_LKINV 0x0E
#define RC_CPT_ALLINV 0x0F
#define RC_MAX_CPT_SYNC 65535
#define RC_CPT_OVERFLOW 0xFFFF
#define RC_CPT_ENTRY_SIZE SIZEOF(int4)
#define RC_CPT_TABSIZE 512
typedef struct {
int4 ring_buff[RC_CPT_TABSIZE];
unsigned short cpsync; /* entry count since server start */
unsigned short cpvfy; /* number of entries since last delivered to a client */
short index; /* next entry to fill */
short server_count; /* number of servers using CPT */
}rc_cp_table;
#define RC_CPT_PATH "$gtm_dist/gtcm_server"
|