File: gbldefs_usr_share.c

package info (click to toggle)
fis-gtm 6.3-014-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 36,680 kB
  • sloc: ansic: 333,039; asm: 5,180; csh: 4,956; sh: 1,924; awk: 291; makefile: 66; sed: 13
file content (43 lines) | stat: -rwxr-xr-x 1,455 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
43
/****************************************************************
 *								*
 * Copyright (c) 2002-2017 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.	*
 *								*
 ****************************************************************/

/* General repository for global variable definitions used both in DDPGVUSR and GTMSHR. gvusr_init should setup these globals */
/* for use in DDPGVUSR.*/

/***************** DO NOT MOVE THESE GLOBALS INTO GBLDEFS.C; IT WILL CAUSE DDPGVUSR.EXE BLOAT *****************/

#include "mdef.h"

#include "gdsroot.h"
#include "gdskill.h"
#include "gtm_facility.h"
#include "fileinfo.h"
#include "gdsbt.h"
#include "gdsfhead.h"

GBLDEF	gd_region	*gv_cur_region;
GBLDEF	gv_key		*gv_altkey, *gv_currkey;
GBLDEF	boolean_t	caller_id_flag = TRUE;

#ifdef INT8_SUPPORTED
	GBLDEF	const seq_num	seq_num_zero = 0;
	GBLDEF	const seq_num	seq_num_one = 1;
	GBLDEF	const seq_num	seq_num_minus_one = (seq_num)-1;
#else
	GBLDEF	const seq_num	seq_num_zero = {0, 0};
	GBLDEF	const seq_num	seq_num_minus_one = {(uint4)-1, (uint4)-1};
#	ifdef BIGENDIAN
		GBLDEF	const seq_num	seq_num_one = {0, 1};
#	else
		GBLDEF	const seq_num	seq_num_one = {1, 0};
#	endif
#endif