File: dpgbldir.h

package info (click to toggle)
fis-gtm 6.2-000-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 30,784 kB
  • ctags: 42,554
  • sloc: ansic: 358,483; asm: 4,847; csh: 4,574; sh: 2,261; awk: 200; makefile: 86; sed: 13
file content (42 lines) | stat: -rw-r--r-- 1,774 bytes parent folder | download
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
/****************************************************************
 *								*
 *	Copyright 2001, 2013 Fidelity Information Services, Inc	*
 *								*
 *	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.	*
 *								*
 ****************************************************************/

#ifndef __DBGBLDIR_H__
#define __DBGBLDIR_H__

typedef struct gvt_container_struct
{
	gv_namehead			**gvt_ptr;	/* pointer to a location (either the "gvnh_reg_t->gvt" (for globals that
							 * dont span regions) OR "gvnh_spanreg_t->gvt_array[]" (for globals that
							 * span regions) that contains a pointer to the "gv_target" and that
							 * needs to be updated if/when the gv_target gets re-allocated.
							 */
	gv_namehead			**gvt_ptr2;	/* only for spanning globals, this points to a SECOND location where the
							 * gvt corresponding to the region (that maps the unsubscripted global
							 * reference) is stored (i.e. gvnh_reg_t->gvt). And that needs to be
							 * updated as well if/when the gv_target gets re-allocated.
							 */
	gd_region			*gd_reg;	/* region corresponding to the gv_target that is waiting for reg-open */
	struct gvt_container_struct	*next_gvtc;
} gvt_container;

boolean_t	get_first_gdr_name(gd_addr *current_gd_header, mstr *log_nam);
gd_addr		*zgbldir(mval *v);
gd_addr		*gd_load(mstr *v);
gd_addr		*get_next_gdr(gd_addr *prev);
mstr		*get_name(mstr *ms);
void		cm_add_gdr_ptr(gd_region *greg);
void		cm_del_gdr_ptr(gd_region *greg);
void		*open_gd_file(mstr *v);
void		gd_rundown(void);
void 		gd_ht_kill(struct hash_table_mname_struct *table, boolean_t contents);

#endif